Author: hqm
Date: 2007-11-21 12:12:56 -0800 (Wed, 21 Nov 2007)
New Revision: 7347

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
Log:
Change 20071121-hqm-8 by [EMAIL PROTECTED] on 2007-11-21 12:47:42 EST
    in /cygdrive/c/users/hqm/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: clear childNodes array when destroying an LzDataset

New Features:

Bugs Fixed: LPP-4688

Technical Reviewer: andre
QA Reviewer: pbr
Doc Reviewer: 

Documentation:

Release Notes:

Details:
    
This addresses one of the issues in the bug report, but does not address 
adding any delegates to listen for an 'ondestroy' event to allow references
from other nodes to be nulled out.


Tests:

smokecheck
lfc/data/alldata.lzx



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2007-11-21 19:16:02 UTC 
(rev 7346)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2007-11-21 20:12:56 UTC 
(rev 7347)
@@ -288,6 +288,8 @@
   * @access private
   */
 function destroy ( recursiveCall ) {
+    this.setChildNodes([ ]);
+
     if (this.dsloadDel) {
         this.dsloadDel.unregisterAll();
     }


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

Reply via email to