Commit beda1d7a by Iwasaki Yudai

Close pty

1 parent 23ca3c8d
Showing with 1 additions and 0 deletions
......@@ -48,6 +48,7 @@ func (context *clientContext) goHandleClient() {
go func() {
<-exit
context.pty.Close()
context.command.Wait()
context.connection.Close()
log.Printf("Connection closed: %s", context.request.RemoteAddr)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!