You don't need to. I traced the code a while back and it takes care of
it.

On Jul 13, 5:50 pm, Gal Dolber <[email protected]> wrote:
> Anyone??
>
> 2010/7/13 Gal Dolber <[email protected]>
>
>
>
>
>
> > Hi, someone knows for sure if its necessary to remove event handlers when
> > we remove a widget? will I get memory leaks if I don't?
>
> > i.e:
> > HandlerRegistration registration = button.addClickHandler(myHandler);
> > ...
> > // IS THIS NECESSARY?
> > public void fakeCleanerMethodBeforeIRemoveTheWidget() {
> >     registration.removeHandler();
> > }
>
> > I thought that answer was YES, but then I notice that @UiHandlers in
> > uibinder have no way to remove the handler.
>
> > I don't think the gwt's team will make that mistake.
>
> > Can someone confirm? Thanks
>
> > --
> >http://gwtupdates.blogspot.com/
>
> --http://gwtupdates.blogspot.com/

-- 
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