Author: ptw
Date: 2007-12-18 14:23:37 -0800 (Tue, 18 Dec 2007)
New Revision: 7598

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Log:
Change 20071218-ptw-t by [EMAIL PROTECTED] on 2007-12-18 17:09:43 EST
    in /Users/ptw/OpenLaszlo/ringding-2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Type-oh in r7576

Technical Reviewer: max (message://<[EMAIL PROTECTED]>)
QA Reviewer: mamye (pending)

Details:
    Remove stray '_' noticed by Max

Tests:
    Ran lpp-5213 test in DHTML, examine canvas.sprite.__children.
    Before: 100's of leaked objects, After: 3 expected objects.



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js   2007-12-18 
21:58:28 UTC (rev 7597)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js   2007-12-18 
22:23:37 UTC (rev 7598)
@@ -1184,7 +1184,7 @@
     this.__LZdeleted = true;
 
     // Remove from parent if the parent is not going to be GC-ed
-    if ((this.__parent_) && (! this.__parent.__LZdeleted)) {
+    if ((this.__parent) && (! this.__parent.__LZdeleted)) {
       var pc = this.__parent.__children;
       for (var i = pc.length - 1; i >= 0; i--) {
         if (pc[i] === this) {


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to