<div dir="ltr"><div>Hi folks,<br><br></div>I have some JS objects having a finalize() method, which as you know should be called when the object is destroyed (i.e. by the engine garbage collector). The app itself renders through Webkit.<br clear="all">
<div><div><br></div><div>When I quit the application however, I see that the webkit garbage collector is called via JSGarbageCollect(), but the finalize() methods are never executed.<br><br></div><div>I read JSBase.cpp in Webkit source code, which implements JSGarbageCollect() ; I may lack some insights, but it doesn&#39;t seem to try to call finalize() to me.<br>
</div><div><br></div><div>Shouldn&#39;t it do that ? Or maybe it does, but is broken due to some bug/corner case ?<br>-- <br><div dir="ltr"><font>Regards,<br>
<br>
<i><b>Manuel BACHMANN</b></i><br>
</font></div>
</div></div></div>