Commit c1583e30 authored by Eric's avatar Eric

Merge branch 'dev' of https://github.com/jumpserver/koko into 1.5.5

parents 08f3f0b2 e758f922
......@@ -61,6 +61,11 @@ func (w *WrapperSession) Read(p []byte) (int, error) {
}
func (w *WrapperSession) Close() error {
select {
case <-w.closed:
return nil
default:
}
err := w.inWriter.Close()
w.initReadPip()
return err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment