I've tried adding the HTTPRequestImplCleaner.java class to my project that attached to that issue but none of the methods on it seem to be getting called. I did verify that's it's getting instantiated but I suspect that this is based off of old code and no longer works against the current http request implementation (we're using GWT 1.6 now).
However, taking a hint here, I have tried something that does appear to give us a workaround. If I have my RPC method return the Request and then immediately call cancel on the request, the request is still sent to the server, but the memory leak disappears. We should be able to do that for our oustanding poll requests as well - keep track of them and cancel them in onWindowClosed. This definitely seems like something that GWT could handle for us and auto-cancel requests when then window is closed. Perhaps that's what the patch in the 1304 issue was meant to do. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
