source/Platform/Unix/Xlib.cpp: assert _priv::display in shutdown()
This commit is contained in:
parent
b78ddba11e
commit
a8fa3981f4
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ void init()
|
|||
|
||||
void shutdown()
|
||||
{
|
||||
assert(_priv::display != NULL);
|
||||
XCloseDisplay(_priv::display);
|
||||
_priv::display = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue