diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-04-08 09:27:44 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-04-08 11:45:27 (GMT) |
commit | 20c3ad62b71b8c6beb93544e870ec00a42a35b07 (patch) | |
tree | 833a884a91fe8a2cd1afd717122c045792fc9929 /tests/auto/qaudioformat/qaudioformat.pro | |
parent | b34817d3fce5b96c335cb583a3313e7bd9f8c07c (diff) | |
download | Qt-20c3ad62b71b8c6beb93544e870ec00a42a35b07.zip Qt-20c3ad62b71b8c6beb93544e870ec00a42a35b07.tar.gz Qt-20c3ad62b71b8c6beb93544e870ec00a42a35b07.tar.bz2 |
Fix a crash when unloading libQtCore
QThread will register a cleanup function with pthreads to be run when
ever a thread exits. However, if QtCore is unloaded, this function would
stay registered and the application would crash when a thread exits
(since the function pointer registered with pthreads is no longer
valid).
Add a destructor function to qthread_unix.cpp which destroys the
pthread_key_t and unregisters the cleanup function.
Task-number: QTBUG-9436
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'tests/auto/qaudioformat/qaudioformat.pro')
0 files changed, 0 insertions, 0 deletions