diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2016-11-24 15:44:57 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-12-15 05:20:45 +0000 |
commit | 56a167d30c48e163f6abd089b68edda3ed9d5be1 (patch) | |
tree | 5d270bdade4546b67ca30f09cfe2bca932fd5819 /src/android | |
parent | cfbe5df48cb782294ea47ecf6c598707df8e0b69 (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
(cherry picked from commit 8f2088db171a6941feb1903a2912a8b7fdf3a9ec)
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions