On Apr 7, 2005, at 2:41 PM, Ovid wrote:
It's my understanding that the Ecmascript standard leaves garbage collection up to the implementation. I suspect this means we can't be sure exactly when an object is destroyed, though whether or not this has any bearing on David's problem is not clear to me.
According to the Rhino book, most implementations use mark and sweep. So you really can't rely on timely destruction, even if you *could* hook into it.
Cheers,
David