WatcherElement reference should be nulled by caller of removeClient rather than withi...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 15 Mar 2007 14:54:56 +0000 (14:54 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 15 Mar 2007 14:54:56 +0000 (14:54 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@363 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/client/simpleclient/VamsasSession.java

index 05014ab..497431d 100644 (file)
@@ -385,9 +385,7 @@ public class VamsasSession {
     SessionFileWatcherElement cwe=getClientWatcherElement();
     if (cwe!=null && cwe.isWatchEnabled()) {
       cwe.haltWatch();
-    } else {
-      cwe=null;
-    }
+    };
     clist.removeClient(client.getClientHandle(),null);
     if (this.clist.retrieveClientList() == null|| this.clist.retrieveClientList().length<1)
       {//assume it is the last client has been removed shutting down session