Loading src/main.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,7 @@ static VOID WINAPI svcCtrlHandler(DWORD ctrl) { if (ctrl == SERVICE_CONTROL_STOP || ctrl == SERVICE_CONTROL_SHUTDOWN) { reportSvcStatus(SERVICE_STOP_PENDING, 5000); if (g_state) g_state->shutdown = true; netplus::event::requestStop(); } } Loading Loading
src/main.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,7 @@ static VOID WINAPI svcCtrlHandler(DWORD ctrl) { if (ctrl == SERVICE_CONTROL_STOP || ctrl == SERVICE_CONTROL_SHUTDOWN) { reportSvcStatus(SERVICE_STOP_PENDING, 5000); if (g_state) g_state->shutdown = true; netplus::event::requestStop(); } } Loading