Page MenuHomePhabricator

Fix shutdown in case of errors during initialization
ClosedPublic

Authored by Fabien on Jan 23 2019, 13:18.

Details

Summary

This backports prevents an error that could throw a segfault at shutdown
if initialization fails in some cases. This will avoid introducing a bug
when backporting PR11781 in a later diff.

Backport of core PR11783

Depends on D2392

Test Plan
make check

Further testing will be part of the test plan of PR11781 backport, as I
am not aware of any other method to throw the error.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11783
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4662
Build 7387: Bitcoin ABC Buildbot (legacy)
Build 7386: arc lint + arc unit