// properly cleaned.
SessionImpl systemSession = LockManagerImpl.this.sysSession;
setLockHolder(systemSession);
try {
NodeImpl node = (NodeImpl) systemSession.getItemManager().getItem(getId());
node.unlock();
} catch (RepositoryException re) {
log.warn("Unable to remove session-scoped lock on node '" + getLockToken() + "': " + e.getMessage());
log.debug("Root cause: ", e);
}
}