Tuesday, September 24, 2013

Re: Window.addWindowClosingHandler

The question that needs to be asked: what are you trying to do in this WindowClosingHandler ?

I'm pretty sure it always gets invoked. But if you try to do async operations like an RPC call then you have no guarantee 
that it will work because the browser might quit before the RPC is ever sent and it will certainly not wait for the response.

David


On Tue, Sep 24, 2013 at 4:37 PM, Bhumika Thaker <thaker.bhumika@gmail.com> wrote:
 It works perfect for mine, But also you can try use CloseHandler like.

Window.addCloseHandler(new CloseHandler<Window>() {
}


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

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

No comments:

Post a Comment