Revision: 5513
          http://jnode.svn.sourceforge.net/jnode/?rev=5513&view=rev
Author:   fduminy
Date:     2009-05-24 01:10:21 +0000 (Sun, 24 May 2009)

Log Message:
-----------
fixed bug at shutdown time : the watchdog shouldn't notify of process death 
(which implied a restart) when watch become false

Modified Paths:
--------------
    trunk/core/src/test/org/jtestserver/client/utils/WatchDog.java

Modified: trunk/core/src/test/org/jtestserver/client/utils/WatchDog.java
===================================================================
--- trunk/core/src/test/org/jtestserver/client/utils/WatchDog.java      
2009-05-24 01:07:42 UTC (rev 5512)
+++ trunk/core/src/test/org/jtestserver/client/utils/WatchDog.java      
2009-05-24 01:10:21 UTC (rev 5513)
@@ -91,7 +91,9 @@
                     goSleep();
                 }
                 
-                processDead();
+                if (watch) {
+                    processDead();
+                }
             } else {
                 goSleep();
             }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to