mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 06:31:50 +08:00
Some work toward Issue 27 and Issue 319
This commit is contained in:
@@ -142,9 +142,12 @@ CArchDaemonWindows::installDaemon(const char* name,
|
||||
throw XArchDaemonInstallFailed(new XArchEvalWindows(err));
|
||||
}
|
||||
}
|
||||
else {
|
||||
// done with service (but only try to close if not null)
|
||||
CloseServiceHandle(service);
|
||||
}
|
||||
|
||||
// done with service and manager
|
||||
CloseServiceHandle(service);
|
||||
// done with manager
|
||||
CloseServiceHandle(mgr);
|
||||
|
||||
// open the registry key for this service
|
||||
|
||||
Reference in New Issue
Block a user