mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-02 13:28:09 +01: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:
committed by
Luke Dashjr
parent
9b661e57bf
commit
486f7c8f65
@@ -281,6 +281,7 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
app.exec();
|
||||
|
||||
window.hide();
|
||||
window.setClientModel(0);
|
||||
window.setWalletModel(0);
|
||||
guiref = 0;
|
||||
|
||||
Reference in New Issue
Block a user