We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4136f2 commit 0a5477cCopy full SHA for 0a5477c
src/init.cpp
@@ -193,9 +193,13 @@ void Shutdown()
193
}
194
#endif
195
MapPort(false);
196
+
197
+ // Because these depend on each-other, we make sure that neither can be
198
+ // using the other before destroying them.
199
UnregisterValidationInterface(peerLogic.get());
- g_connman.reset();
200
+ g_connman->Stop();
201
peerLogic.reset();
202
+ g_connman.reset();
203
204
StopTorControl();
205
if (fDumpMempoolLater && gArgs.GetArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) {
0 commit comments