Commit bc0e0b13 authored by jan.koester's avatar jan.koester
Browse files

test

parent 16770a76
Loading
Loading
Loading
Loading
+3 −2
Changes for src/blogi.cpp: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2506,9 +2506,10 @@ VOID ReportSvcStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHi
VOID WINAPI ServiceCtrlHandler(DWORD CtrlCode) {
    switch (CtrlCode) {
    case SERVICE_CONTROL_STOP:
        ReportSvcStatus(SERVICE_STOP_PENDING, NO_ERROR, 0);
        if (g_ServiceStopEvent) {
        ReportSvcStatus(SERVICE_STOP_PENDING, NO_ERROR, 5000);
        netplus::event::Running = false;
        if (g_ServiceStopEvent) {
            SetEvent(g_ServiceStopEvent);
        }
        return;
    case SERVICE_CONTROL_INTERROGATE: