INT-1660 added check to validate if jschSession is connected to the SftpSession.isOpen() method
This commit is contained in:
@@ -128,7 +128,7 @@ class SftpSession implements Session {
|
||||
}
|
||||
|
||||
public boolean isOpen() {
|
||||
return this.channel.isConnected() && this.jschSession.isConnected();
|
||||
return this.jschSession.isConnected();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user