Comment by micahherstand:

Another question, is it dangerous to have a dialog box that gets added  
dynamically like this:
{{{
public void makeCoolButton(){
   Button b = new Button();
   b.addClickHandler(new ClickHandler(){
      public void onClick(ClickEvent e){
         new SpecialDialogBox();
      }
   });
}
}}}
In Java, I would expect the garbage collector to take care of everything,  
but this article has me scared about the JS garbage collector.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks

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

Reply via email to