Follow-up from "Improve Catching Signals"
The following discussion from !627 (merged) should be addressed:
-
@kwolters started a discussion: (+3 comments) Problem is that you can do almost nothing in a signal handler. Directly handling the destroy is almost certainly not signal-safe, see e.g. https://thomastrapp.com/blog/signal-handler-for-multithreaded-c++/ (if that wasn't the link you already used). Flipping a flag is kind of the only thing you can easily do safely.