Add some error handling to async response handler
We only want to read data in case of POLLIN or POLLHUP. Not POLLNVAL or select error. We always want to remove the handler, so it doesn't get called in an infinite loop when error is nval or err. In zsh source, see main zle event loop in zle_main.c raw_getbyte function.pull/359/head
parent
93877f6b76
commit
88fe824ddf
Loading…
Reference in New Issue