Threads created with pthread are created in detach mode. Threads created using glib thread functions are instead created as joinable. The fix makes glib-created threads detached, so that the thread resources are released when the thread completes.
This resolves TDE/amarok#30 and will benefit any place where a TQThread is used.
Manually cherry-picked from commit 81288cfc
.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
r14.1.x
parent
24032974c6
commit
c9932b7c1a
Loading…
Reference in new issue