()
| 173 | } |
| 174 | |
| 175 | func (t *sshSmartSubtransport) Close() error { |
| 176 | t.currentStream = nil |
| 177 | if t.client != nil { |
| 178 | t.stdin.Close() |
| 179 | t.session.Wait() |
| 180 | t.session.Close() |
| 181 | t.client = nil |
| 182 | } |
| 183 | return nil |
| 184 | } |
| 185 | |
| 186 | func (t *sshSmartSubtransport) Free() { |
| 187 | } |