From f372140c5b6c97ebc23c9dd6762d8d518cdcc45d Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 22 Aug 2007 16:14:29 +0000 Subject: [PATCH] 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 --- src/uk/ac/vamsas/client/simpleclient/EventGeneratorThread.java | 1 + src/uk/ac/vamsas/client/simpleclient/SimpleClient.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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."); } -- 1.7.10.2