Update of /var/cvs/src/org/mmbase/module
In directory james.mmbase.org:/tmp/cvs-serv13601

Modified Files:
        Module.java 
Log Message:
not setting modules to null may make it impossible to accidentely reinit 
modules after shutdown


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/module


Index: Module.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/module/Module.java,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -b -r1.99 -r1.100
--- Module.java 28 Jul 2008 16:25:10 -0000      1.99
+++ Module.java 31 Jul 2008 13:46:03 -0000      1.100
@@ -37,7 +37,7 @@
  * @author Rob Vermeulen (securitypart)
  * @author Pierre van Rooden
  *
- * @version $Id: Module.java,v 1.99 2008/07/28 16:25:10 michiel Exp $
+ * @version $Id: Module.java,v 1.100 2008/07/31 13:46:03 michiel Exp $
  */
 public abstract class Module extends DescribedFunctionProvider {
 
@@ -341,8 +341,8 @@
                 m.shutdown();
                 log.service("Shut down " + m.getName());
             }
+            modules.clear();
         }
-        modules = null;
     }
 
     public static synchronized final void startModules() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to