summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/CMakeLists.txt
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-06-14 14:22:48 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-06-16 13:22:17 +0200
commitd829d54a42393d797c5f6ab3b80e88df35fad1e4 (patch)
tree29b452346b5886ec188b646c7645a75c4a3a1486 /tests/auto/cmake/CMakeLists.txt
parentec675f5dc7d64bb7ebf7f4cce4f33d4b10dfe439 (diff)
iOS: cleanup connection when a screen disconnects
The iOS port creates one QIOSViewController per connected screen. And each view controller listens for changes to the application state. The problem is that we never disconnect this connection again. So if a screen is removed, and the corresponing view controller is deallocated, the connection is still kept alive. This will cause crashes to occur when the signal emits, since the slot will then be accessing deleted memory. Fixes: QTBUG-76948 Pick-to: 6.2 6.1 5.15 Change-Id: I758e51af9297cd62de193aae825f4475a2c7c3e5 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/cmake/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions