> What about language based, though?  ie, if a class is no longer 
> referenced by any variables (last remaining variable container set to 
> null, perhaps), then a destructor is called?
> 
> (or similar)

Like I told, you can't detect the time it's set to null so it happens
"later" depending on the GC, creating unpredictiveness and a lot of bugs.

Nicolas

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to