From: jprocter Date: Wed, 22 Aug 2007 16:14:29 +0000 (+0000) Subject: attempts to remove any locks after client is finalized X-Git-Tag: Release_0.2~77 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f372140c5b6c97ebc23c9dd6762d8d518cdcc45d;p=vamsas.git attempts to remove any locks after client is finalized git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@443 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/simpleclient/EventGeneratorThread.java b/src/uk/ac/vamsas/client/simpleclient/EventGeneratorThread.java index 4a0b1fb..b9824b5 100644 --- a/src/uk/ac/vamsas/client/simpleclient/EventGeneratorThread.java +++ b/src/uk/ac/vamsas/client/simpleclient/EventGeneratorThread.java @@ -196,6 +196,7 @@ public class EventGeneratorThread { * others). public static final String CLIENT_FINALIZATION = "uk.ac.vamsas.client.events.clientFinalizationEvent"; */ // again - as the test. + watchlock.release(); } return true; } diff --git a/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java b/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java index 8e8fba2..a2b999d 100644 --- a/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java +++ b/src/uk/ac/vamsas/client/simpleclient/SimpleClient.java @@ -248,8 +248,8 @@ public class SimpleClient implements IClient { _session.removeClient(this); //log.debug("Stopping EventGenerator.."); //evgen.stopWatching(); - SimpleClient.log.debug("EventGenerator halted."); this.cdocument = null; + SimpleClient.log.debug("EventGenerator halted."); log.debug("finalization Complete."); }