Update main.cpp

merge-requests/9/merge
Phil Taylor 2022-05-24 10:13:44 +01:00
rodzic 5cb81b412f
commit 06017148dd
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -177,8 +177,8 @@ int main(int argc, char *argv[])
SetConsoleCtrlHandler((PHANDLER_ROUTINE)cleanup, TRUE); SetConsoleCtrlHandler((PHANDLER_ROUTINE)cleanup, TRUE);
#else #else
signal(SIGINT, cleanup); signal(SIGINT, cleanup);
signal(SIG_TERM, cleanup); signal(SIGTERM, cleanup);
signal(SIG_CLOSE, cleanup); signal(SIGKILL, cleanup);
#endif #endif
w = new servermain(serialPortCL, hostCL, settingsFile); w = new servermain(serialPortCL, hostCL, settingsFile);
#else #else