mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
From MSDN on CreateServiceW: The returned handle is only valid for the process that called CreateService. It can be closed by calling the CloseServiceHandle function. This isn't an actual kernel object to be closed with CloseHandle. Change-Id: Iee225a666576d57a6c4864abef20206d54cbbce2 Reviewed-on: https://go-review.googlesource.com/c/sys/+/198298 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>