From: jprocter Date: Thu, 15 Mar 2007 14:54:56 +0000 (+0000) Subject: WatcherElement reference should be nulled by caller of removeClient rather than withi... X-Git-Tag: Release_0.2~157 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0330a8e70848ce136eada4778f72981d9c958166;p=vamsas.git WatcherElement reference should be nulled by caller of removeClient rather than within method. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@363 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 05014ab..497431d 100644 --- a/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java +++ b/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java @@ -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