summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2023-02-01 21:04:39 +0100
committerJoel Rosdahl <joel@rosdahl.net>2023-02-01 21:33:09 +0100
commitd75a0847ea1f4608942ce8a06628a9a85a830f45 (patch)
tree469b7119667651f37fcf33d4e8ef3487d1a63555 /doc
parent7c81ca6011232f025a82ff4100ec714d88bb632e (diff)
downloadccache-d75a0847ea1f4608942ce8a06628a9a85a830f45.tar.gz
fix: Fix rare crash in signal handler
If the process is signaled after SignalHandler::~SignalHandler has run then this assert will trigger: ccache: SignalHandler.cpp:87: static void SignalHandler::on_signal(int): failed assertion: g_the_signal_handler Fix this by deregistering the signal handler function before destructing the SignalHandler object. Fixes #1246.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions