소스 검색

auto update script executed

Toby Chui 1 년 전
부모
커밋
a72a00e241
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      mod/sshprox/sshprox.go

+ 1 - 0
mod/sshprox/sshprox.go

@@ -140,6 +140,7 @@ func (i *Instance) CreateNewConnection(listenPort int, remoteIpAddr string, remo
 	cmd.Stderr = os.Stderr
 	go func() {
 		cmd.Run()
+		i.Destroy()
 	}()
 	i.tty = cmd
 	i.AssignedPort = listenPort