mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-15 00:02:46 -05:00
dll: FspService: console mode improvements
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user