HomePhabricator

Qt: pass clientmodel changes from walletframe to walletviews

Description

Qt: pass clientmodel changes from walletframe to walletviews

Summary:

We currently don't pass clientmodel changes from the walletframe to the walletviews leading to possible invalid access during shutdown because all walletviews miss the nullifying of the clientmodel.

This is a backport of Core PR18091

Test Plan:
ninja && src/qt/bitcoin-qt -regtest
Open console
generatetoaddress(1000,getnewaddress())
Quit bitcoin-qt

Before this patch: segfault
After this patch: graceful shutdown.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Jonas Schnelli <dev@jonasschnelli.ch>Authored on Dec 22 2020, 17:21
PiRKCommitted on Dec 22 2020, 17:21
abc-botPushed on Dec 22 2020, 17:27
Reviewer
Restricted Project
Differential Revision
D8740: Qt: pass clientmodel changes from walletframe to walletviews
Parents
rABC227a327fd98b: qt: Fix deprecated QCharRef usage
Branches
Unknown
Tags
Unknown