From 8b0ad5daece7f00611a8718d8cece1966847a813 Mon Sep 17 00:00:00 2001 From: degasus Date: Mon, 25 Aug 2014 07:33:51 +0200 Subject: [PATCH] glx: fix shutdown hang --- Source/Core/DolphinWX/GLInterface/X11_Util.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/DolphinWX/GLInterface/X11_Util.cpp b/Source/Core/DolphinWX/GLInterface/X11_Util.cpp index 63fe15e493..9a2c568569 100644 --- a/Source/Core/DolphinWX/GLInterface/X11_Util.cpp +++ b/Source/Core/DolphinWX/GLInterface/X11_Util.cpp @@ -46,6 +46,7 @@ Window cX11Window::CreateXWindow(Window parent, XVisualInfo *vi) void cX11Window::DestroyXWindow(void) { XUnmapWindow(dpy, win); + win = 0; if (xEventThread.joinable()) xEventThread.join(); XFreeColormap(dpy, colormap);