We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3857d67 commit 983cefbCopy full SHA for 983cefb
1 file changed
android/src/main/java/flutter/ssh2/SshPlugin.java
@@ -604,12 +604,13 @@ private void disconnectSFTP(final HashMap args) {
604
}
605
606
private void disconnect(final HashMap args) {
607
- this.closeShell(args);
608
- this.disconnectSFTP(args);
609
-
610
SSHClient client = clientPool.get(args.get("id"));
611
if (client == null)
612
return;
+
+ this.closeShell(args);
+ this.disconnectSFTP(args);
613
614
client._session.disconnect();
615
616
0 commit comments