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:
parent
0ab02df9e2
commit
0d89236fd4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user