diff options
| author | Christian Strømme <christian.stromme@qt.io> | 2025-12-19 08:17:12 +0100 |
|---|---|---|
| committer | Christian Strømme <christian.stromme@qt.io> | 2025-12-19 18:11:51 +0000 |
| commit | 0f308aba520eb8ecafcb552258f53aca60740a9f (patch) | |
| tree | 81b82107bd64c3bb97d64be0bc8d3428b1b856bc /src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/qeglfsx11integration.cpp | |
| parent | 5a998366c0cf02d5e325a8083a4b8ba4c3973148 (diff) | |
In CI we started seeing occasional asserts due to stale callbacks
calling deliverUpdateRequest(). The callbacks were not dropped as they
should have because the platform window was destroyed and recreated with
the same address. To mitigate this we now also verify that the callback
id matches. While it's technically possible that both the callbackId
and the recreated window has the same match, that's no longer a problem
because that also means a callback has already been requested, so
we'll just end-up dropping the last one that comes in.
Pick-to: 6.11 6.10
Change-Id: I8898c953789777e8ac457a21a6dbdbda935ac1d9
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/qeglfsx11integration.cpp')
0 files changed, 0 insertions, 0 deletions
