Skip to content

Commit aee76f6

Browse files
committed
-- TODO: fix ssh. Highligthed the lines that crashes the plugin
1 parent b5ed9df commit aee76f6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/plugin/sshd/sshd.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,11 @@ func (s *SSH) handleChannels(sshItem SSHConn, chans <-chan ssh.NewChannel) {
135135
s.Running <- false
136136
return
137137
case conn := <-chans:
138+
//TODO: this line crashes the app when the connection is lost!!!
139+
// Fix it ASAP!
140+
// ☟ ☟ ☟
138141
go s.handleChannel(sshItem, conn)
142+
// ☝ ☝ ☝
139143
}
140144
}
141145
}

0 commit comments

Comments
 (0)