HomePhabricator

Remove PID file at the very end

Description

Remove PID file at the very end

Summary:

While reproducing the bug from #18517, I've noticed that the bitcoind.pid file has already been removed when the bitcoind hangs.
This PR makes Shutdown() keep the bitcoind.pid file available until the end.

This is a backport of Core PR18526

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Jan 14 2021, 13:54
PiRKCommitted on Jan 14 2021, 13:55
abc-botPushed on Jan 14 2021, 14:01
Reviewer
Restricted Project
Differential Revision
D8910: Remove PID file at the very end
Parents
rABCf05eb5a011cb: Fix a -Wunused-variable in the locale fuzzer
Branches
Unknown
Tags
Unknown