HomePhabricator

net: only delete CConnman if it's been created
36fa01f217fbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

net: only delete CConnman if it's been created

In the case of (for example) an already-running bitcoind, the shutdown sequence
begins before CConnman has been created, leading to a null-pointer dereference
when g_connman->Stop() is called.

Instead, Just let the CConnman dtor take care of stopping.

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Sep 13 2016, 18:42
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGfa7caf6d9116: Merge #8693: add witness address to address book
Branches
Unknown
Tags
Unknown

Event Timeline

Cory Fields <cory-nospam-@coryfields.com> committed rSTAGING36fa01f217fb: net: only delete CConnman if it's been created (authored by Cory Fields <cory-nospam-@coryfields.com>).Sep 14 2016, 02:43