diff --git a/src/Client/ClientBase.cpp b/src/Client/ClientBase.cpp index 7dfa60ad560..a9529c706bd 100644 --- a/src/Client/ClientBase.cpp +++ b/src/Client/ClientBase.cpp @@ -7,12 +7,13 @@ #include #include -#include #include #include #include +#include #include #include +#include #include #include #include @@ -233,7 +234,7 @@ public: void interruptSignalHandler(int signum) { if (exit_on_signal.test_and_set()) - _exit(128 + signum); + safeExit(128 + signum); }