Got pulled off to work on other issues, finally coming back to this
again.

I managed to find a way to fix one of the memory "leaks" in the
application.  I was under the impression that you didn't have to
explicitly remove things from the DOM in this way, so I'm curious why
it seems to solve my problem.

Basically I changed this:

public void doSomething(){
   panel = null;
}

to

public void doSomething(){
   if ( panel != null ) {
      DOM.removeChild(RootPanel.getBodyElement(),
panel.getElement() );
      panel = null;
   }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to