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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.