mirror of https://github.com/coder/coder.git
fix: Close bug in pty (#3166)
This commit is contained in:
parent
592340c6ce
commit
2c67a2f30b
|
@ -56,6 +56,7 @@ func (p *otherPty) Close() error {
|
|||
|
||||
err := p.pty.Close()
|
||||
if err != nil {
|
||||
_ = p.tty.Close()
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue