On 2014-04-12 08:50:59 +0000, "Marc Schütz" <schue...@gmx.net> 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 michel.for...@michelf.ca http://michelf.ca