summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qcocoamenu_mac.mm
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-08-16 13:09:34 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-08-16 13:58:34 (GMT)
commit7cfc9f2245162944f3d9a29ad73cd93e2bcf197f (patch)
tree3e8c9a26ed980702ea0f87a25a181bbd773612b7 /src/gui/widgets/qcocoamenu_mac.mm
parent881b3bf8212432590d19e2a979577c2a9f3ab80b (diff)
downloadQt-7cfc9f2245162944f3d9a29ad73cd93e2bcf197f.zip
Qt-7cfc9f2245162944f3d9a29ad73cd93e2bcf197f.tar.gz
Qt-7cfc9f2245162944f3d9a29ad73cd93e2bcf197f.tar.bz2
Fix QProcessManager destruction
If QProcessManager destructor is ran as part of global static cleanup, manager thread will most likely be terminated by kernel at that point, so trying to delete QProcessActives and QProcessMediators will panic as they will still be active. They can also no longer be properly canceled as the thread is already gone. In case manager thread has already died, which implies that process exit is imminent, we simply do nothing and let the deletion of the main heap at process exit take care of stray objects. Task-number: QTBUG-11218 Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/gui/widgets/qcocoamenu_mac.mm')
0 files changed, 0 insertions, 0 deletions