Page MenuHomePhabricator

gui: Unregister wallet notifications before unloading wallets
ClosedPublic

Authored by Fabien on Mon, Apr 21, 15:27.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable