Skip to content

Call FlushBackgroundCallbacks before resetting CConnman#3378

Merged
codablock merged 1 commit into
dashpay:developfrom
codablock:pr_earlier_flush
Mar 26, 2020
Merged

Call FlushBackgroundCallbacks before resetting CConnman#3378
codablock merged 1 commit into
dashpay:developfrom
codablock:pr_earlier_flush

Conversation

@codablock

Copy link
Copy Markdown

This fixes crashes on shutdown due to flushed callbacks still accessing g_connman and friends. This should fix failing tests like in https://gitlab.com/dashpay/dash/-/jobs/485301095

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@codablock
codablock merged commit 80be252 into dashpay:develop Mar 26, 2020
@codablock
codablock deleted the pr_earlier_flush branch March 26, 2020 12:24
UdjinM6 added a commit to UdjinM6/dash that referenced this pull request Jan 22, 2021
This is needed to be able to process SetBestChain callback generated by the first FlushStateToDisk call in PrepareShutdown

Partially reverts dashpay#3378
PastaPastaPasta pushed a commit that referenced this pull request Jan 25, 2021
This is needed to be able to process SetBestChain callback generated by the first FlushStateToDisk call in PrepareShutdown

Partially reverts #3378
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Feb 22, 2022
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Apr 1, 2022
This is needed to be able to process SetBestChain callback generated by the first FlushStateToDisk call in PrepareShutdown

Partially reverts dashpay#3378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants