changeset 2387:485386e6afe0 draft

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.
author Wladimir J. van der Laan <laanwj@gmail.com>
date Sun, 06 May 2012 08:14:19 +0200
parents 520456fe833e
children 635a1d30480c
files src/qt/bitcoin.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -282,6 +282,7 @@
 #endif
                 app.exec();
 
+                window.hide();
                 window.setClientModel(0);
                 window.setWalletModel(0);
                 guiref = 0;