We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3969aeb + 20881f4 commit d555eebCopy full SHA for d555eeb
process_windows.go
@@ -19,6 +19,7 @@ func _pidAlive(pid int) bool {
19
if err != nil {
20
return false
21
}
22
+ defer syscall.CloseHandle(h)
23
24
var ec uint32
25
if e := syscall.GetExitCodeProcess(h, &ec); e != nil {
0 commit comments