* which have or are logged off
*
* @see org.olat.core.util.event.GenericEventListener#event(org.olat.core.gui.control.Event)
*/
public void event(Event event) {
SignOnOffEvent se = (SignOnOffEvent) event;
if (!se.isSignOn() && se.isEventOnThisNode()) {
// it is a "logout" event - we are only interested in logout events
// and it is from our VM => only release all locks from within one VM
String identName = se.getIdentityName();
// release all locks held by the identity that has just logged out.
// (assuming one user has only one session (logged in with one browser only): otherwise (as in singlevm, too)
// since the lock is reentrant, a lock could be freed while a session still is in a locked workflow (2x lock and then once freed)
ClusterLockManager cm = ClusterLockManager.getInstance();
try {