summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtimer.cpp
diff options
context:
space:
mode:
authorVladimir Belyavsky <belyavskyv@gmail.com>2024-08-30 22:09:52 +0300
committerVladimir Belyavsky <belyavskyv@gmail.com>2024-09-03 09:20:15 +0000
commit2ef1a338a91659871675514921f9a7dc8d1c8805 (patch)
treed27679d40db766cc9c18f19a32bf88ceb367a978 /src/corelib/kernel/qtimer.cpp
parentaec8398d71d351e956683a695af51317fe65097e (diff)
QCocoaScreen: Account for platform window deletion during deliverUpdateRequest
Platform window may be destroyed during update request delivery. For instance, in Qt Quick a user may close a window using some animation with QML ScriptAction. To handle such a situation and prevent a crash due to a dangling pointer, we can simply protect the platformWindow pointer using QPointer. Fixes: QTBUG-128516 Pick-to: 6.8 6.7 6.5 Change-Id: I49ecec09d62e184f5df17794b303f147b705e2e3 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions