Merge pull request #890 from degasus/glx

glx: fix shutdown hang
This commit is contained in:
Ryan Houdek 2014-08-28 09:13:50 -05:00
commit 8e7d7418af
1 changed files with 1 additions and 0 deletions

View File

@ -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);