Hide UI immediately after leaving the main loop.

Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
This commit is contained in:
Wladimir J. van der Laan
2012-05-06 08:14:19 +02:00
committed by Luke Dashjr
parent 5da2dce524
commit e38d492822

View File

@@ -205,6 +205,7 @@ int main(int argc, char *argv[])
app.exec();
window.hide();
guiref = 0;
}
Shutdown(NULL);