Browse Source

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.
miguelfreitas
Wladimir J. van der Laan 13 years ago
parent
commit
46f552a9fe
  1. 1
      src/qt/bitcoin.cpp

1
src/qt/bitcoin.cpp

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

Loading…
Cancel
Save