Tuesday, May 27, 2014

DialogBox, PopupPanel closeHandler. Potential memory leak?

Hi,

I have a non reusable dialogbox that I attach a closeHandler on it. Everything works great.

Do I have to remove the closehandler on hide so the dialogbox can be garbage collected or GWT takes care of it?

I did my homework and found this
https://code.google.com/p/google-web-toolkit/issues/detail?id=6356
but it is about the resizeHandler.

In gwt dialogbox and popuppanel source code I didn't find (but maybe I missed it) anything that indicates that they cleanup the handlerManager

Do I need to add something equavalent for the CloseHandler in the case of non reusable dialogbox (and popup panels)


--
Vassilis Virvilis

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment