Ensure win32PipeListener.Close() correctly aborts Listen() calls

Signed-off-by: John Starks <jostarks@microsoft.com>
This commit is contained in:
John Starks
2016-01-31 13:46:55 -08:00
parent f001f808a9
commit b0d265e6c2
3 changed files with 87 additions and 37 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func makeWin32File(h syscall.Handle) (*win32File, error) {
}
func MakeOpenFile(h syscall.Handle) (io.ReadWriteCloser, error) {
return makeWin32File(h)
return makeWin32File(h)
}
// closeHandle closes the resources associated with a Win32 handle