mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 12:05:21 +02:00
RESOLVED - bug 240420: [terminal][ssh]Channel is not closed when the connection is closed with the close button
https://bugs.eclipse.org/bugs/show_bug.cgi?id=240420
This commit is contained in:
parent
518a73d52f
commit
0392e3902d
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ class SshConnection extends Thread {
|
|||
ChannelShell channel=(ChannelShell) session.openChannel("shell"); //$NON-NLS-1$
|
||||
channel.setPtyType("ansi"); //$NON-NLS-1$
|
||||
channel.connect();
|
||||
setChannel(channel);
|
||||
fConn.setInputStream(channel.getInputStream());
|
||||
fConn.setOutputStream(channel.getOutputStream());
|
||||
fConn.setChannel(channel);
|
||||
|
|
Loading…
Add table
Reference in a new issue