HomePhabricator

[avalanche] Fix a lock order inversion on shutdown

Description

[avalanche] Fix a lock order inversion on shutdown

Summary: The lock order is touchy during shutdown and was broken by D9768.

Test Plan:
With debug:

./test/functional/test_runner.py abc_p2p_proof_inventory

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D9791

Details

Provenance
FabienAuthored on Jul 15 2021, 09:55
FabienPushed on Jul 15 2021, 10:40
Reviewer
Restricted Project
Differential Revision
D9791: [avalanche] Fix a lock order inversion on shutdown
Parents
rABC7b604beb5ee0: [avalanche] Make the error code consistent in addavalanchenode
Branches
Unknown
Tags
Unknown