Hi everyone,

I have had a problem with *HandlerRegistration* returned by method *
SimpleEventBus.addHandler *
*
*
When I call:

*HandlerRegistration hr = eventBus.addHandler(LoginSuccessEvent.TYPE, new
LoginSuccessEventHandler() {*
* *
* @Override*
* public void onSuccess(LoginSuccessEvent event) {*
* view.getName().setText(event.getName());*
* System.out.println("Fire");*
* }*
* });*
*
*
Then I call:

*hr.removeHandler();*
*
*
The handler still does not be removed. I see on console multiple "Fire"
each event firing.

This is my complete code:
http://pastebin.com/3ZBXnXF8<http://pastebin.com/3ZBXnXF8#>

On each event firing, I see "Back" one time but multiple time with "Fire"

Can you help me solve this problem?

(Sorry about my English, I'm Vietnamese)

-- 
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+unsubscr...@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/groups/opt_out.


Reply via email to