Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent panic: send on closed channel during termination #15

Merged
merged 1 commit into from
Apr 2, 2019

Commits on Mar 22, 2019

  1. prevent panic: send on closed channel during termination

    sometimes it's possible to receive a SIGWINCH right in between when `close(tty.ss)` and `close(tty.ws)` are being called, causing a panic.
    
    Making the `WINSIZE` production goroutine close the chan will prevent this.
    azr authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    a7b2618 View commit details
    Browse the repository at this point in the history