Page MenuHomePhabricator

Add Windows shutdown handler
ClosedPublic

Authored by Fabien on Nov 18 2019, 16:50.

Details

Summary

Exit properly when clicked the red X of Windows Console.

Backport of core PR13131:
https://github.com/bitcoin/bitcoin/pull/13131/files

Test Plan
make check

Cross build for windows.
Run bitcoind.exe in a console and exit with the "red X" (or hit
CTRL+C) button of the console. The software should terminate
gracefully (previously it would abort on an assertion failed in
scheduler destructor).

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR13131
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8145
Build 14323: Default Diff Build & Tests
Build 14322: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Nov 18 2019, 17:45
This revision was automatically updated to reflect the committed changes.