Commit 85d166f9 authored by jan.koester's avatar jan.koester
Browse files

test

parent 036f1ef5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3406,7 +3406,7 @@ VOID WINAPI ServiceCtrlHandler(DWORD CtrlCode) {
    switch (CtrlCode) {
    case SERVICE_CONTROL_STOP:
        ReportSvcStatus(SERVICE_STOP_PENDING, NO_ERROR, 5000);
        netplus::event::Running = false;
        netplus::event::requestStop();
        if (g_ServiceStopEvent) {
            SetEvent(g_ServiceStopEvent);
        }