Hide UI immediately after leaving the main loop.
authorWladimir J. van der Laan <laanwj@gmail.com>
Sun, 6 May 2012 06:14:19 +0000 (08:14 +0200)
committerLuke Dashjr <luke-jr+git@utopios.org>
Sun, 6 May 2012 14:55:59 +0000 (14:55 +0000)
Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.

src/qt/bitcoin.cpp

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