HomePhabricator

gui: Unregister wallet notifications before unloading wallets

Description

gui: Unregister wallet notifications before unloading wallets

Summary:

This change was originally part of both bitcoin/bitcoin#10102 and
bitcoin/bitcoin#19101 and is required for both because it avoids the IPC
wallet implementation in bitcoin/bitcoin#10102 and the WalletContext
implementation in bitcoin/bitcoin#19101 needing to deal with
notification objects that have stale pointers to deleted wallets.

Backport of core-gui#360.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Apr 21 2025, 15:27
FabienPushed on Apr 21 2025, 18:21
Reviewer
Restricted Project
Differential Revision
D17960: gui: Unregister wallet notifications before unloading wallets
Parents
rABC078eeff814d1: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown