bgentry / speakeasy

cross-platform Golang helpers for reading password input without cgo
Other
116 stars 24 forks source link

Stop listening for signals after password input #6

Closed rasky closed 9 years ago

rasky commented 9 years ago

The current code doesn't really stop listening for signals, it just makes the signal goroutine exit. That's still good for memory leaks, but you also want to stop delivering signals to the channels as well, otherwise they don't get their default behavior anymore.

bgentry commented 9 years ago

@rasky looks good, thanks!