commit
7ecace5939
@ -472,6 +472,10 @@ int main(int argc, char **argv)
|
||||
#endif // SIGABRT_COMPAT
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __unix__
|
||||
std::signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
if (!SetConsoleCtrlHandler((PHANDLER_ROUTINE)CtrlHandler, TRUE))
|
||||
|
Loading…
Reference in New Issue
Block a user