Friday, January 15, 2016

Widget Memory Leak (possibly caused by ErraiBus?)

I am using a tab panel and experiencing a memory leak. When a tab panel is closed, that panel is removed from its parent, but it remains in memory. Is there any call that I need to make so that the panel is garbage collected? The only reference I can find that would remain after that point is ErraiBus. Many of my panels subscribe to messages on the ErraiBus, but I don't see a way of unsubscribing from the ErraiBus. There is an unsubscribeAll() method, but that method says that it unsubscribes all listeners for a particular subject. I only want to unsubscribe the listener of a particular panel.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment