aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-02-24 10:53:24 +0100
committerWladimir J. van der Laan <[email protected]>2017-02-24 10:53:32 +0100
commitdd6e0d630167c1d2acc008f56fdea6cfdb8e6e84 (patch)
treef3d80110006edc3ed728711f55bdb8e4802e7f2e /src/init.cpp
parentMerge #9840: Update sendfrom RPC help to correct coin selection misconception (diff)
parentTrivial: fix comments referencing AppInit2 (diff)
downloaddiscoin-dd6e0d630167c1d2acc008f56fdea6cfdb8e6e84.tar.xz
discoin-dd6e0d630167c1d2acc008f56fdea6cfdb8e6e84.zip
Merge #9833: Trivial: fix comments referencing AppInit2
ef9f495 Trivial: fix comments referencing AppInit2 (Marko Bencun)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/init.cpp b/src/init.cpp
index cf265180f..196b840cb 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -118,10 +118,6 @@ static const char* FEE_ESTIMATES_FILENAME="fee_estimates.dat";
// threads that should only be stopped after the main network-processing
// threads have exited.
//
-// Note that if running -daemon the parent process returns from AppInit2
-// before adding any threads to the threadGroup, so .join_all() returns
-// immediately and the parent exits from main().
-//
// Shutdown for Qt is very similar, only it uses a QTimer to detect
// fRequestShutdown getting set, and then does the normal Qt
// shutdown thing.
@@ -188,7 +184,7 @@ void Shutdown()
if (!lockShutdown)
return;
- /// Note: Shutdown() must be able to handle cases in which AppInit2() failed part of the way,
+ /// Note: Shutdown() must be able to handle cases in which initialization failed part of the way,
/// for example if the data directory was found to be locked.
/// Be sure that anything that writes files or flushes caches only does this if the respective
/// module was initialized.