|
|
|
[
Permlink
| « Hide
]
André Bargull - 09/Sep/07 04:35 AM
Attached testcase "LPP-4688.lzx"
Regarding your last question, what to do if a new dataset with the same name is created. We currently issue a warning when this occurs, so I guess we aren't really supporting replacing a named dataset with a new one. The data can be reloaded of course, but I don't think there is any good mechanism to automatically notify all the nodes which already point to
a dataset that they need to point to a different instance. Change 20071121-hqm-8 by hqm@IBM-2E06404CB67 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 We also need to clear the "LzDataset#data" field in "LzDataset#destroy(..)" to reduce mem-leaks.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||