diff --git a/src/tuntap/conn.go b/src/tuntap/conn.go index 0d63fde3..234c34f0 100644 --- a/src/tuntap/conn.go +++ b/src/tuntap/conn.go @@ -122,6 +122,7 @@ func (s *tunConn) writer() error { } func (s *tunConn) stillAlive() { + defer func() { recover() }() select { case s.alive <- struct{}{}: default: