attempts to remove any locks after client is finalized
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 22 Aug 2007 16:14:29 +0000 (16:14 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 22 Aug 2007 16:14:29 +0000 (16:14 +0000)
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
src/uk/ac/vamsas/client/simpleclient/SimpleClient.java

index 4a0b1fb..b9824b5 100644 (file)
@@ -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;
   }
index 8e8fba2..a2b999d 100644 (file)
@@ -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.");
   }