Page MenuHomePhabricator

Move scheduler/threadGroup into common-init instead of per-app
ClosedPublic

Authored by jasonbcox on Jan 7 2019, 06:46.

Details

Summary

This resolves #12229 which pointed out a shutdown deadlock due to
scheduler/checkqueue having been shut down while network message
processing is still running.

Backport of Core PR 12266
T507

Test Plan

The bug this fixes is difficult to reproduce, so I did the following to verify that nothing is obviously broken:
test_runner.py passes
bitcoin-qt validating that it starts, can be used normally, and shuts down without issue.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr12266
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4431
Build 6927: Bitcoin ABC Buildbot (legacy)
Build 6926: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 7 2019, 23:18
This revision was automatically updated to reflect the committed changes.