Browse Source

windows: do not trap CTRL_CLOSE event

2upstream 1.6.3-tpruvot
Tanguy Pruvot 10 years ago
parent
commit
0d89236fd4
  1. 4
      ccminer.cpp

4
ccminer.cpp

@ -2607,10 +2607,10 @@ BOOL WINAPI ConsoleHandler(DWORD dwType) @@ -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…
Cancel
Save