hack to minimise IO interruption when SimpleClient.finalize() is called whilst docume...
[vamsas.git] / src / uk / ac / vamsas / client / simpleclient / EventGeneratorThread.java
index b9824b5..d00e119 100644 (file)
@@ -330,7 +330,10 @@ public class EventGeneratorThread {
 
   public void interruptWatching() {
     if (watchThread!=null && watchThread.isAlive())
+    {
+      // TODO: find a way of interrupting watcher in a way that prevents file IO being interrupted
       watchThread.interrupt();
+    }
     
   }
   /**