On 2014-02-16 21:51, Steven Schveighoffer wrote:

Right, but there is no obligation to follow this pattern. One is free to
just not do anything, and the GC will clean up your garbage.

I was replying to the issue that it's not possible to know in the destructor of a class if it's destroyed by the GC or by delete/scope. With Object.dispose in D1 Tango it is possible.

--
/Jacob Carlborg

Reply via email to