diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2019-06-04 14:33:36 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2019-06-05 11:32:34 +0000 |
commit | dbe1775f7e1b71696ee64f8b23c998f787e6e7ed (patch) | |
tree | f6dea00031beeae2de14a21411183be5b88fae20 /src/compositor/extensions/qwaylandxdgshellv6integration_p.h | |
parent | 70d422afb8f631e14140f22b01256013b28b7034 (diff) |
Don't crash at application exitwip/texturesharing-5.12
Qt Quick may destroy objects after QGuiApplication shutdown. It is
not possible to call any QOpenGL functions at that point
(including QOpenGLContext::currentContext()), and there is no
point since the graphics resources will be released by the system
anyway.
Fixes: QTBUG-76053
Change-Id: Ic86c8fb5a34126ab03178cda3071d712582ed496
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
(cherry picked from commit 280d0e557eabe9410632edf32ed46e712535c45b)
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv6integration_p.h')
0 files changed, 0 insertions, 0 deletions