mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
fix: Close bug in pty (#3166)
This commit is contained in:
@@ -56,6 +56,7 @@ func (p *otherPty) Close() error {
|
||||
|
||||
err := p.pty.Close()
|
||||
if err != nil {
|
||||
_ = p.tty.Close()
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user