1
0
Fork 0
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:
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; //return false;
} }
finally { finally {
if (channel.getChannel() != null) { if (channel != null) {
channel.getChannel().disconnect(); channel.release();
} }
} }
} }