From 853eac180b1d539d8e761ffe0c1156ff56ecb92f Mon Sep 17 00:00:00 2001 From: TranceLove Date: Wed, 28 Feb 2024 17:44:48 +0800 Subject: [PATCH] Keep connection alive at HybridFile.forEachChildrenFile() Addresses #4081 --- .../main/java/com/amaze/filemanager/filesystem/HybridFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java b/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java index a8bcfb18bd..ac6ee8663c 100644 --- a/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java +++ b/app/src/main/java/com/amaze/filemanager/filesystem/HybridFile.java @@ -960,7 +960,7 @@ public void forEachChildrenFile(Context context, boolean isRoot, OnFileFound onF switch (mode) { case SFTP: SshClientUtils.execute( - new SFtpClientTemplate(getPath(), true) { + new SFtpClientTemplate(getPath(), false) { @Override public Boolean execute(@NonNull SFTPClient client) { try {