From: jprocter Date: Thu, 28 Jun 2007 14:38:55 +0000 (+0000) Subject: raise the DOCUMENT_REQUESTTOCLOSE event and debug output. X-Git-Tag: Release_0.2~105 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=694560809e5f1cc19fa1f76e2294e8d3c78fd2fa;p=vamsas.git raise the DOCUMENT_REQUESTTOCLOSE event and debug output. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@415 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java b/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java index 58f442a..b24ef68 100644 --- a/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java +++ b/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java @@ -491,6 +491,9 @@ public class VamsasSession { 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());