[vlma-devel] commit: No need to join here. (Adrien Grand )

git version control git at videolan.org
Sun Sep 7 22:32:33 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Sep  7 22:19:27 2008 +0200| [acfa71029501e234f667b04f81e1329460b6dda4] | committer: Adrien Grand 

No need to join here.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=acfa71029501e234f667b04f81e1329460b6dda4
---

 .../org/videolan/vlma/monitor/OrderMonitor.java    |    3 ---
 .../org/videolan/vlma/monitor/ServerMonitor.java   |    3 ---
 .../videolan/vlma/monitor/ServerStateMonitor.java  |    3 ---
 3 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java b/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
index 83381e2..1477ca3 100644
--- a/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
+++ b/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
@@ -198,9 +198,6 @@ public class OrderMonitor implements Monitor {
         logger.info("Stopping " + this.getClass().getSimpleName());
         shouldRun.set(false);
         orderMonitorDaemonThread.interrupt();
-        try {
-            orderMonitorDaemonThread.join();
-        } catch (InterruptedException e) { }
     }
 
     /**
diff --git a/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerMonitor.java b/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerMonitor.java
index 34c5732..d739900 100644
--- a/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerMonitor.java
+++ b/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerMonitor.java
@@ -130,9 +130,6 @@ public class ServerMonitor implements Monitor {
         logger.info("Stopping " + this.getClass().getSimpleName());
         shouldRun.set(false);
         serverMonitorDaemonThread.interrupt();
-        try {
-            serverMonitorDaemonThread.join();
-        } catch (InterruptedException e) { }
     }
 
     /**
diff --git a/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerStateMonitor.java b/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerStateMonitor.java
index 2f0e100..e496e24 100644
--- a/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerStateMonitor.java
+++ b/vlma-core/src/main/java/org/videolan/vlma/monitor/ServerStateMonitor.java
@@ -126,9 +126,6 @@ public class ServerStateMonitor implements Monitor {
         logger.info("Stopping " + this.getClass().getSimpleName());
         shouldRun.set(false);
         serverStateMonitorDaemonThread.interrupt();
-        try {
-            serverStateMonitorDaemonThread.join();
-        } catch (InterruptedException e) { }
     }
 
     /**



More information about the vlma-devel mailing list