Re: Async call returning and executing before calling method finishes in Dev mode?

2013-03-14 Thread Thomas Broyer
Because the requests are made by the browser, this shouldn't be different in prod vs. dev mode. Was it in Firefox? 'cause it has a bug where it could execute scripts concurrently in some cases: https://code.google.com/p/google-web-toolkit/issues/detail?id=7926 On Thursday, March 14, 2013

Re: Async call returning and executing before calling method finishes in Dev mode?

2013-03-14 Thread GWTter
Hi Thomas, Yes, I was running it in Firefox, sorry for not mentioning it before. But I guess I stumbled onto the same bug here too. This puts me at ease now though since I know that there shouldn't be any concurrent execution: the calling method should finish before executing the async

Async call returning and executing before calling method finishes in Dev mode?

2013-03-13 Thread GWTter
Hi all, I have a situation where, although extremely rare and really should only arise while debugging, one of my Async calls returns and executes its callback before the calling function/main loop is done with its execution. This has only been done in Dev mode and not prod. Now I know (or at