mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-02 15:15:09 +00:00
Fix crash when trying to stop stfp while it was mounted
This commit is contained in:
@@ -125,7 +125,7 @@ class SimpleSftpServer {
|
|||||||
public void stop() {
|
public void stop() {
|
||||||
try {
|
try {
|
||||||
started = false;
|
started = false;
|
||||||
sshd.stop();
|
sshd.stop(true);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user