mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
glx: fix shutdown hang
This commit is contained in:
parent
7d05ebbc9b
commit
8b0ad5daec
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ Window cX11Window::CreateXWindow(Window parent, XVisualInfo *vi)
|
||||||
void cX11Window::DestroyXWindow(void)
|
void cX11Window::DestroyXWindow(void)
|
||||||
{
|
{
|
||||||
XUnmapWindow(dpy, win);
|
XUnmapWindow(dpy, win);
|
||||||
|
win = 0;
|
||||||
if (xEventThread.joinable())
|
if (xEventThread.joinable())
|
||||||
xEventThread.join();
|
xEventThread.join();
|
||||||
XFreeColormap(dpy, colormap);
|
XFreeColormap(dpy, colormap);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue