File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,6 @@ static const char* FEE_ESTIMATES_FILENAME="fee_estimates.dat";
118
118
// threads that should only be stopped after the main network-processing
119
119
// threads have exited.
120
120
//
121
- // Note that if running -daemon the parent process returns from AppInit2
122
- // before adding any threads to the threadGroup, so .join_all() returns
123
- // immediately and the parent exits from main().
124
- //
125
121
// Shutdown for Qt is very similar, only it uses a QTimer to detect
126
122
// fRequestShutdown getting set, and then does the normal Qt
127
123
// shutdown thing.
@@ -188,7 +184,7 @@ void Shutdown()
188
184
if (!lockShutdown)
189
185
return ;
190
186
191
- // / Note: Shutdown() must be able to handle cases in which AppInit2() failed part of the way,
187
+ // / Note: Shutdown() must be able to handle cases in which initialization failed part of the way,
192
188
// / for example if the data directory was found to be locked.
193
189
// / Be sure that anything that writes files or flushes caches only does this if the respective
194
190
// / module was initialized.
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ void BitcoinCore::initialize()
268
268
{
269
269
try
270
270
{
271
- qDebug () << __func__ << " : Running AppInit2 in thread" ;
271
+ qDebug () << __func__ << " : Running initialization in thread" ;
272
272
if (!AppInitBasicSetup ())
273
273
{
274
274
Q_EMIT initializeResult (false );
@@ -457,7 +457,7 @@ void BitcoinApplication::initializeResult(int retval)
457
457
returnValue = retval ? 0 : 1 ;
458
458
if (retval)
459
459
{
460
- // Log this only after AppInit2 finishes, as then logging setup is guaranteed complete
460
+ // Log this only after AppInitMain finishes, as then logging setup is guaranteed complete
461
461
qWarning () << " Platform customization:" << platformStyle->getName ();
462
462
#ifdef ENABLE_WALLET
463
463
PaymentServer::LoadRootCAs ();
Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ class CSignatureCache
90
90
static CSignatureCache signatureCache;
91
91
}
92
92
93
- // To be called once in AppInit2/TestingSetup to initialize the signatureCache
93
+ // To be called once in AppInitMain/BasicTestingSetup to initialize the
94
+ // signatureCache.
94
95
void InitSignatureCache ()
95
96
{
96
97
// nMaxCacheSize is unsigned. If -maxsigcachesize is set to zero,
You can’t perform that action at this time.
0 commit comments