Remove superfluous SignalHandlerRunningRAII (it is already called inside SignalHandler.h)

This commit is contained in:
Sebastian Messmer 2019-03-24 18:11:46 -07:00
parent e07a1c5604
commit 96ae461d34

View File

@ -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();
} }
} }