From f5f099ac945295eda288125e8a1c8a3174870f0d Mon Sep 17 00:00:00 2001 From: DomySh Date: Sun, 26 Jun 2022 16:20:12 +0200 Subject: [PATCH] Removed sigsev signal catch --- backend/proxy/proxy.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/backend/proxy/proxy.cpp b/backend/proxy/proxy.cpp index b9d24e5..3cbf6a4 100644 --- a/backend/proxy/proxy.cpp +++ b/backend/proxy/proxy.cpp @@ -416,11 +416,6 @@ void signal_handler(int signal_num) cerr << "Close Requested" << endl; #endif 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(); signal(SIGUSR1, signal_handler); signal(SIGTERM, signal_handler); - signal(SIGSEGV, signal_handler); - - - boost::asio::io_service ios; ios_loop = &ios;