[webkit-dev] how to destroy JSObjescts?

Alexey Proskuryakov ap at webkit.org
Wed Nov 26 01:57:58 PST 2008


Nov 26, 2008, в 12:23 PM, Iulian написал(а):

> With JSGarbageCollect() the finalize() function of myStaticObject gets
> called, but the finalize() function of myDynamicObject doesn't get  
> called.


Perhaps the address of myDynamicObject is on the stack when you call  
JSGarbageCollect()? That would prevent it from being collected, of  
course.

- WBR, Alexey Proskuryakov





More information about the webkit-dev mailing list