client: Destroy window manager integration before display
Like the globals window manager integration needs the display to be alive. Fixes: QTBUG-121364 Change-Id: I3bf10737f9c1aa6d0b3c34d2268532ea6fc4e957 Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
992aa7e561
commit
3d47f834e0
@ -373,6 +373,7 @@ QWaylandDisplay::~QWaylandDisplay(void)
|
||||
|
||||
// Reset the globals manually since they need to be destroyed before the wl_display
|
||||
mGlobals = {};
|
||||
mWindowManagerIntegration.reset();
|
||||
|
||||
if (object())
|
||||
wl_registry_destroy(object());
|
||||
|
Loading…
x
Reference in New Issue
Block a user