mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
Bug 256581 - Release channel after download rather than closing
This commit is contained in:
parent
776ce5d2e7
commit
6e5f68778a
1 changed files with 2 additions and 2 deletions
|
@ -1024,8 +1024,8 @@ public class SftpFileService extends AbstractFileService implements ISshService,
|
||||||
//return false;
|
//return false;
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
if (channel.getChannel() != null) {
|
if (channel != null) {
|
||||||
channel.getChannel().disconnect();
|
channel.release();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue