| 
     
      
      
      From: <dr...@us...> - 2003-04-03 18:11:27
      
     
   | 
Update of /cvsroot/webmacro/webmacro/src/org/webmacro
In directory sc8-pr-cvs1:/tmp/cvs-serv2961/org/webmacro
Modified Files:
	Broker.java 
Log Message:
Fixing bugs where log messages can be output multiple times.
Index: Broker.java
===================================================================
RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/Broker.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** Broker.java	27 Mar 2003 00:35:30 -0000	1.33
--- Broker.java	3 Apr 2003 18:11:19 -0000	1.34
***************
*** 749,752 ****
--- 749,756 ----
  		if ( --_count == 0 ) {
  			shutdown();
+ 
+             // make sure to cleanup the logging system
+             // if no more references to this Broker are around
+             LogSystem.removeInstance(_ls);
  		}
  	}
 |