1
0
Fork 0
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:
Martin Oberhuber 2011-02-01 08:05:52 +00:00
parent 776ce5d2e7
commit 6e5f68778a

View file

@ -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();
}
}
}