natefinch / npipe

A Windows named pipe implementation written in pure Go.
MIT License
297 stars 73 forks source link

Overlapped event not closed #9

Open alexpilotti opened 10 years ago

alexpilotti commented 10 years ago

CloseHandle should be called for the event created here when not needed anymore: https://github.com/natefinch/npipe/blob/v2/npipe_windows.go#L395

e.g.: https://github.com/natefinch/npipe/blob/v2/npipe_windows.go#L217