summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineoption.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2016-11-24 15:44:57 +0100
committerOliver Wolff <oliver.wolff@qt.io>2016-11-30 07:49:41 +0000
commit8f2088db171a6941feb1903a2912a8b7fdf3a9ec (patch)
tree91bb87b6bd614685d25f6fb656d089b0ea340852 /src/corelib/tools/qcommandlineoption.h
parent0cdae477e32a312a02eb6be4d82ed1731f617170 (diff)
winrt: Check for removed timers after sending events
After all the check makes sense here. If a timer was removed as a result of sendEvent and it was not at the end of the list the list is not shrunk but the timer info's id is just set to INVALID_TIMER_ID. Additionally the timer's object should be fetched before we unlock the locker as timerIdToObject is changed in removeTimer and we might access a nullptr if the timer has been removed. Reverts c83ba01f7bc542368973f3f24dfb59c6052dd78a Task-number: QTBUG-56756 Change-Id: Ib1a04c02fbfcf4c939b4891d42f954dc9e87149e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineoption.h')
0 files changed, 0 insertions, 0 deletions