Author: max
Date: 2007-08-22 10:52:57 -0700 (Wed, 22 Aug 2007)
New Revision: 6185
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
Log:
Change 20070822-maxcarlson-F by [EMAIL PROTECTED] on 2007-08-22 10:33:12 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Fix memory leaks in swf loader
New Features:
Bugs Fixed: LPP-4535 - Memory leaks in "LzMakeLoadSprite"
Technical Reviewer: promanik
QA Reviewer: ben
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: See LPP-4535.
Tests: IWFM.
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
===================================================================
---
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
2007-08-22 17:34:29 UTC (rev 6184)
+++
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
2007-08-22 17:52:57 UTC (rev 6185)
@@ -256,9 +256,15 @@
* @access private
*/
LzMakeLoadSprite.destroy = function (recur) {
-
+ if ('updateDel' in this)
+ this.updateDel.unregisterAll();
+ if ('errorDel' in this)
+ this.errorDel.unregisterAll();
+ if ('timeoutDel' in this)
+ this.timeoutDel.unregisterAll();
+
this.loader.unload( );
// call shadowed destroy()
- this.___destroy( recur );
+ this.___destroy( recur );
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins