src/java/fr/jayasoft/ivy/repository/ssh/SshCache.java
/**
         * remove channelSftp and disconnect if necessary
         */
remove channelSftp and disconnect if necessary
remove channelSftp and disconnect if necessary
public void releaseChannelSftp() {
            if(channelSftp != null) {
                if(channelSftp.isConnected()) {
                    Message.verbose(":: SFTP :: closing sftp connection from "+host+"...");
                    channelSftp.disconnect();
                    channelSftp = null;
                    Message.verbose(":: SFTP :: sftp connection closed from "+host);
                }
            }
        }
public void releaseChannelSftp ( ) { if ( channelSftp != null ) { if ( channelSftp . isConnected ( ) ) { Message . verbose ( ":: SFTP :: closing sftp connection from " + host + "..." ) ; channelSftp . disconnect ( ) ; channelSftp = null ; Message . verbose ( ":: SFTP :: sftp connection closed from " + host ) ; } } }
remove channelSftp and disconnect if necessary
remove channelSftp and disconnect if necessary