Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Error handling for reading runes on multiselect #316

Merged
merged 2 commits into from
Nov 30, 2020

Conversation

soprea
Copy link
Contributor

@soprea soprea commented Nov 26, 2020

SIGHUP is ignored and the program gets into a weird loop waiting for select to happen.
Steps to reproduce:
go run examples/longmulti.go
In a different terminat run kill -s hup (pidof longmulti) Or simply close the terminal while the program waits for input.
The program is not killed and gets in a weird state slowly killing your CPU

SIGHUP is ignored and the program gets into a weird loop waiting for select to happen.
Steps to reproduce:
`go run examples/longmulti.go`
In a different terminat run `kill -s hup (pidof longmulti)` Or simply close the terminal while the program waits for input.
The program is not killed and gets in a weird state slowly killing your CPU
@AlecAivazis
Copy link
Owner

Oh damn, nice catch! Do you mind looking at the other prompts to make sure we dont have the same problem?

@soprea
Copy link
Contributor Author

soprea commented Nov 27, 2020

Already checked and also tested. They all look good. Only multiselect got missed.

@AlecAivazis
Copy link
Owner

Sweet! Thanks for fixing this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants