mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Interrupt packet reader thread on close.
This commit is contained in:
@@ -245,6 +245,7 @@ public class SFTPEngine
|
|||||||
public void close()
|
public void close()
|
||||||
throws IOException {
|
throws IOException {
|
||||||
sub.close();
|
sub.close();
|
||||||
|
reader.interrupt();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected FileAttributes stat(PacketType pt, String path)
|
protected FileAttributes stat(PacketType pt, String path)
|
||||||
|
|||||||
Reference in New Issue
Block a user