From 4751d07efdc3924a005bbe61b358d320f0c710af Mon Sep 17 00:00:00 2001 From: Eric Lombrozo Date: Mon, 7 Jan 2013 07:35:31 -0800 Subject: Moved unrelated-to-network calls in StartNode and StopNode into init.cpp --- src/init.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index e4cb2f1d0..48fd5ae97 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -45,6 +45,7 @@ enum BindFlags { BF_REPORT_ERROR = (1U << 1) }; + ////////////////////////////////////////////////////////////////////////////// // // Shutdown @@ -99,6 +100,7 @@ void Shutdown() StopRPCThreads(); ShutdownRPCMining(); bitdb.Flush(false); + GenerateBitcoins(false, NULL); StopNode(); { LOCK(cs_main); -- cgit v1.2.3