Don't call exit() in Shutdown() for Bitcoin-Qt (fixes a tray-icon issue)
[novacoin.git] / src / qt / bitcoin.cpp
index 3157ead..8dde8f3 100644 (file)
@@ -208,6 +208,7 @@ int main(int argc, char *argv[])
                 window.hide();
                 guiref = 0;
             }
+            // Shutdown the core and it's threads, but don't exit Bitcoin-Qt here
             Shutdown(NULL);
         }
         else