Example #1
0
// Close relinquish access to service s.
func (s *Service) Close() error {
	return winapi.CloseServiceHandle(s.Handle)
}
Example #2
0
File: mgr.go Project: 2722/lantern
// Disconnect closes connection m to servise control manager.
func (m *Mgr) Disconnect() error {
	return winapi.CloseServiceHandle(m.Handle)
}