aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-03-09 12:02:57 -0500
committerGavin Andresen <[email protected]>2013-04-03 19:57:53 -0400
commitb31499ec72edd1554d4612d1b54808fce0360e14 (patch)
treea2d03852b9fd6e9595470210479f212ccf4313f1 /src/qt
parentPort Thread* methods to boost::thread_group (diff)
downloaddiscoin-b31499ec72edd1554d4612d1b54808fce0360e14.tar.xz
discoin-b31499ec72edd1554d4612d1b54808fce0360e14.zip
Clean up shutdown process
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index a805e350e..b61921fca 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -260,9 +260,9 @@ int main(int argc, char *argv[])
guiref = 0;
}
// Shutdown the core and its threads, but don't exit Bitcoin-Qt here
- Shutdown(NULL);
threadGroup.interrupt_all();
threadGroup.join_all();
+ Shutdown();
}
else
{