git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@415
be28352e-c001-0410-b1a7-
c7978e42abec
if ( this.isLastActiveClient(client))
{
if ( this.isLastActiveClient(client))
{
+ log.debug("Raising request-to-save event");
+ client.evgen._raise(Events.DOCUMENT_REQUESTTOCLOSE, null, client, null);
+ //client.evgen._raise(Events.SESSION_SHUTDOWN, null, client.getSessionHandle(), null);
log.debug("Last active client: closing session");
log.info("Closing session");
getSessionManager().removeSession(client.getSessionHandle());
log.debug("Last active client: closing session");
log.info("Closing session");
getSessionManager().removeSession(client.getSessionHandle());