mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 04:45: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;
|
||||
}
|
||||
finally {
|
||||
if (channel.getChannel() != null) {
|
||||
channel.getChannel().disconnect();
|
||||
if (channel != null) {
|
||||
channel.release();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue