HomePhabricator

[avalanche] Disconnect from the updated block tip handler before destructing…

Description

[avalanche] Disconnect from the updated block tip handler before destructing the processor

Summary: Make sure we can't reach a use after free issue where UpdatedBlockTip() is called after the peer manager has been destructed. This can only happen in tests because the normal node shutdown take cares of this already.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Jul 25 2025, 12:20
FabienPushed on Jul 26 2025, 08:36
Reviewer
Restricted Project
Differential Revision
D18416: [avalanche] Disconnect from the updated block tip handler before destructing the processor
Parents
rABC7d741635df8f: [e.cash] Add build page
Branches
Unknown
Tags
Unknown