mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
dll: FspService: console mode improvements
This commit is contained in:
parent
57f9db6cc0
commit
0c18b82cc2
@ -306,7 +306,8 @@ FSP_API NTSTATUS FspServiceLoop(FSP_SERVICE *Service)
|
||||
goto exit;
|
||||
}
|
||||
|
||||
FspServiceCtrlHandler(SERVICE_CONTROL_STOP, 0, 0, Service);
|
||||
if (Service->AcceptControl & SERVICE_ACCEPT_STOP)
|
||||
FspServiceCtrlHandler(SERVICE_CONTROL_STOP, 0, 0, Service);
|
||||
}
|
||||
|
||||
Result = STATUS_SUCCESS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user