0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-03 09:56:38 -05:00

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
parent 6ad47ddf40
commit 46f552a9fe

View file

@ -282,6 +282,7 @@ int main(int argc, char *argv[])
#endif #endif
app.exec(); app.exec();
window.hide();
window.setClientModel(0); window.setClientModel(0);
window.setWalletModel(0); window.setWalletModel(0);
guiref = 0; guiref = 0;