Hi all,

I'm investigating the memory leak bug (http://jira.codehaus.org/ 
browse/MAP-404) and already discovered that ButtonBase.js is creating  
useless <img> elements which leak (lines 79 and 86). Since only the  
src is required the createElement("IMG") can actually be skipped.
Still there are leaks with buttons.  I noticed that OpenLayers has a  
destroy function at certain places. Not sure it does anything, but it  
might be a good idea to implement destroy functions as well.
The should be called by an unload event on the body (just like  
MbDoLoad is at the unload event.)

Any opinions? Ideas how to implement this or alternative ways to get  
rid of leaking widget-DIVs?

Obviously this will be a large change and is meant for after the  
release.

Steven


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to