Fix Linux stall, close tty not pty
This commit is contained in:
parent
a6f9120c59
commit
66ec2c8396
@ -19,7 +19,7 @@ type Tty struct {
|
||||
|
||||
func (t *Tty) Close() {
|
||||
if t.outtty != nil {
|
||||
t.outpty.Close()
|
||||
t.outtty.Close()
|
||||
t.outtty = nil
|
||||
}
|
||||
if t.errtty != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user