summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/patches
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-07-20 08:58:28 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-07-20 09:19:51 (GMT)
commit84abdaa41e6c3bde6ac653e02bd72300b6681572 (patch)
treebcf074accb5755987f5aeaaaa0f3c3fadf406d42 /src/3rdparty/patches
parentd3a2ba13342880e2912b9a669c8b6f8bc217eb56 (diff)
downloadQt-84abdaa41e6c3bde6ac653e02bd72300b6681572.zip
Qt-84abdaa41e6c3bde6ac653e02bd72300b6681572.tar.gz
Qt-84abdaa41e6c3bde6ac653e02bd72300b6681572.tar.bz2
Fix crash when native socket notifiers would send a notification after being disabled.
Spend a lot of time looking at this and at the CoreFoundation source code and it seems that we really do get a notification even after the notifier is disabled. I suspect there's a race condition between when we disable the socket notifier, but the kernel flags it as needing a read, then CoreFoundation just sends the notification without checking if the CFSocket has been disabled. No further notifications come of course. Since this breaks the invariant that was set in the assert, I'm replacing it with an if check. Task-number: 258198 Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/3rdparty/patches')
0 files changed, 0 insertions, 0 deletions