Remove superfluous SignalHandlerRunningRAII (it is already called inside SignalHandler.h)
This commit is contained in:
parent
e07a1c5604
commit
96ae461d34
@ -110,10 +110,6 @@ private:
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
void got_signal(int signal) {
|
void got_signal(int signal) {
|
||||||
#if defined(_MSC_VER)
|
|
||||||
// Only needed on Windows, Linux does this by default. See comment on SignalHandlerRunningRAII class.
|
|
||||||
SignalHandlerRunningRAII disable_signal_processing_while_handler_running_and_reset_handler_afterwards(signal);
|
|
||||||
#endif
|
|
||||||
SignalCatcherRegistry::singleton().find(signal)->setSignalOccurred();
|
SignalCatcherRegistry::singleton().find(signal)->setSignalOccurred();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user