/** {@inheritDoc} */ @Override public void close() { if (sock != null) { try { sch.releaseSession(sock); } finally { sock = null; } } } }
@Override public void close() { if (sock != null) { try { sch.releaseSession(sock); } finally { sock = null; } } } }
/** {@inheritDoc} */ @Override public void close() { if (sock != null) { try { sch.releaseSession(sock); } finally { sock = null; } } } }
SshSessionFactory.getInstance().releaseSession(session);
SshSessionFactory.getInstance().releaseSession(session);