[bitcoin/bitcoin] Use a semaphore to trigger shutdown procedures (#13186)

I think this breaks SIGINT/SIGTERM handling.

Добавить комментарий