[Laszlo-dev] For Review: Change 20070724-maxcarlson-G Summary: Fix memory leaks in IE 7

Max Carlson max at openlaszlo.org
Tue Jul 24 11:45:47 PDT 2007


Change 20070724-maxcarlson-G by maxcarlson at plastik on 2007-07-24  
11:29:20 PDT
     in /Users/maxcarlson/openlaszlo/legals-checkin/WEB-INF/lps/lfc
     for http://svn.openlaszlo.org/openlaszlo/branches/legals/WEB-INF/ 
lps/lfc

Summary:  Fix memory leaks in IE 7

New Features:

Bugs Fixed:

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzSprite.js - More comperhensive destruction of non- 
ie_alphaimageloader images in __destroyImage().  Leave empty hashes  
for LzSprite.prototype.__sprites and LzSprite.prototype._sizedomcache  
in __cleanUpForIE().


Tests: Before this test, reloading any application in IE7 would show  
leakage when hitting reload repeatedly in the browser.  I tested with  
the task manager open to watch memory usage.  This change stabilizes  
image leaks, but there may still be some leaks when data is loaded.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070724- 
maxcarlson-G.tar


More information about the Laszlo-dev mailing list