Permalink
Browse files

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.
  • Loading branch information...
1 parent 6ad47dd commit 46f552a9fe453149b7592048f9c7807bb211f273 @laanwj laanwj committed May 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/qt/bitcoin.cpp
View
@@ -282,6 +282,7 @@ int main(int argc, char *argv[])
#endif
app.exec();
+ window.hide();
window.setClientModel(0);
window.setWalletModel(0);
guiref = 0;

0 comments on commit 46f552a

Please sign in to comment.