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/

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