mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-02 03:27:56 +00:00
Merge pull request #2920 from KevDi/closeServiceHandleAfterUnregister
Close Service Handle after DeleteService Function call
This commit is contained in:
@@ -125,6 +125,7 @@ void WinService::unregisterService()
|
||||
open();
|
||||
if (!DeleteService(_svcHandle))
|
||||
throw SystemException("cannot unregister service", _name);
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user