mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Fix uninitialized g_connman crash in Shutdown()
This commit is contained in:
parent
7fcd61b261
commit
77939f27f7
@ -194,7 +194,7 @@ void Shutdown()
|
||||
// Because these depend on each-other, we make sure that neither can be
|
||||
// using the other before destroying them.
|
||||
UnregisterValidationInterface(peerLogic.get());
|
||||
g_connman->Stop();
|
||||
if(g_connman) g_connman->Stop();
|
||||
peerLogic.reset();
|
||||
g_connman.reset();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user