Removed sigsev signal catch

This commit is contained in:
DomySh
2022-06-26 16:20:12 +02:00
parent 04fe113dd1
commit f5f099ac94

View File

@@ -416,11 +416,6 @@ void signal_handler(int signal_num)
cerr << "Close Requested" << endl; cerr << "Close Requested" << endl;
#endif #endif
exit(0); exit(0);
}else if (signal_num == SIGSEGV){
#ifdef DEBUG
cerr << "Forced Close" << endl;
#endif
exit(0);
} }
} }
@@ -442,10 +437,6 @@ int main(int argc, char* argv[])
update_regex(); update_regex();
signal(SIGUSR1, signal_handler); signal(SIGUSR1, signal_handler);
signal(SIGTERM, signal_handler); signal(SIGTERM, signal_handler);
signal(SIGSEGV, signal_handler);
boost::asio::io_service ios; boost::asio::io_service ios;
ios_loop = &ios; ios_loop = &ios;