@Override protected void _sessionTerminating(WOSession wosession) { synchronized (this) { super._sessionTerminating(wosession); sessions.removeObject(wosession); } }
public void cancel() { ec.revert(); // NSDictionary snapshot = ec.committedSnapshotForObject(onEdit); if (ec.insertedObjects().contains(item)) { NSMutableArray fullList = (NSMutableArray) session().valueForKey("personList"); fullList.removeObject(item); } // onEdit = null; }
/** * Removes the given route from this request handler. * * @param route the route to remove */ public void removeRoute(ERXRoute route) { _routes.removeObject(route); }