Skip to content

Commit

Permalink
X11: dont call XCloseDisplay on shutdown, it crashes when powered doe…
Browse files Browse the repository at this point in the history
…n by cec on ATI
  • Loading branch information
FernetMenta committed Oct 28, 2013
1 parent c493823 commit 60f1d60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/windowing/X11/WinSystemX11.cpp
Expand Up @@ -111,7 +111,8 @@ bool CWinSystemX11::DestroyWindowSystem()
//we don't call XCloseDisplay() here, since ati keeps a pointer to our m_dpy
//so instead we just let m_dpy die on exit
// i have seen core dumps on ATI if the display is not closed here
XCloseDisplay(m_dpy);
// crashes when shutting down via cec
// XCloseDisplay(m_dpy);
}

// m_SDLSurface is free()'d by SDL_Quit().
Expand Down

0 comments on commit 60f1d60

Please sign in to comment.