Once upon a time I think that used to refer to

   var oproto = Object.prototype;

But geez, if we've been living without it so far...

I guess we should put that line back into the code, outside the loop.

We got into trouble with all the stuff several times by doing stuff that
made things run fast by poking at the native Flash objects, and then finding
later than the GC didn't work anymore. So I would say go ahead and add the
line above back in, and I will be sure to revive the test that datasets are still getting GC'd.





On 5/15/06, Philip Romanik < [EMAIL PROTECTED]> wrote:
Hi,

I found some code in data/LzLoader.as that references an undefined variable
called oproto. Any ideas on what I should do about it?

Thanks!

Phil


             // Do we need to copy attributes list as well?
             // After this works, try bashing the __proto__
             // and see if GC still works.

             var cattrs = node.attributes;

             cattrs.__proto__ = oproto;
             cattrs.constructor = Object;
             ASSetPropFlags(cattrs, ['__proto__', 'constructor'], 1, 7);


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



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

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

Reply via email to