1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-30 08:24:16 +00:00

windows: do not trap CTRL_CLOSE event

This commit is contained in:
Tanguy Pruvot 2015-05-15 01:20:51 +02:00
parent 0ab02df9e2
commit 0d89236fd4

View File

@ -2607,10 +2607,10 @@ BOOL WINAPI ConsoleHandler(DWORD dwType)
applog(LOG_INFO, "CTRL_BREAK_EVENT received, exiting");
proper_exit(EXIT_CODE_KILLED);
break;
case CTRL_CLOSE_EVENT:
/* case CTRL_CLOSE_EVENT:
applog(LOG_INFO, "CTRL_CLOSE_EVENT received, exiting");
proper_exit(EXIT_CODE_KILLED);
break;
break;*/
case CTRL_LOGOFF_EVENT:
applog(LOG_INFO, "CTRL_LOGOFF_EVENT received, exiting");
proper_exit(EXIT_CODE_KILLED);