Reviewers: Ray Ryan,

Description:
Fix garbage collection issue with logging in Dev Mode


Please review this at http://gwt-code-reviews.appspot.com/667802/show

Affected files:
  M user/src/com/google/gwt/logging/client/LogConfiguration.java


Index: user/src/com/google/gwt/logging/client/LogConfiguration.java
===================================================================
--- user/src/com/google/gwt/logging/client/LogConfiguration.java (revision 8393) +++ user/src/com/google/gwt/logging/client/LogConfiguration.java (working copy)
@@ -52,9 +52,10 @@
    */
   private static class LogConfigurationImplRegular
   implements LogConfigurationImpl {
-
+    Logger root;
+
     public void configureClientSideLogging() {
-      Logger root = Logger.getLogger("");
+      root = Logger.getLogger("");
       setLevels(root);
       setDefaultHandlers(root);
     }


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to