Clean up shutdown process

This commit is contained in:
Gavin Andresen committed 2013-04-03 19:57:53 -04:00
1 parent 21eb5adadb
commit b31499ec72
15 files changed
+147 -178

No files matched your search

+1 -1
View File
@@ -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
{