On 2014-04-12 08:50:59 +0000, "Marc Schütz" <[email protected]> said:

More correctly, every reference to the destroyed object needs to be wiped, not the object itself. But this requires a fully precise GC.

That'd be more costly (assuming you could do it) than just wiping the object you just destroyed. But it'd solve the issue of leaking a reference to the outside world from the destructor.

--
Michel Fortin
[email protected]
http://michelf.ca

Reply via email to