mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Changed: Don't close a display already closed
This commit is contained in:
parent
c6e4e1d15a
commit
c70aa5143b
1 changed files with 5 additions and 2 deletions
|
@ -501,8 +501,11 @@ bool CDriverGL::unInit()
|
|||
// restore default X errors handler
|
||||
XSetErrorHandler(NULL);
|
||||
|
||||
if (_dpy)
|
||||
{
|
||||
XCloseDisplay(_dpy);
|
||||
_dpy = NULL;
|
||||
}
|
||||
|
||||
#endif // NL_OS_UNIX
|
||||
|
||||
|
|
Loading…
Reference in a new issue