On Sun, 16 Feb 2014 06:46:53 -0500, Jacob Carlborg <d...@me.com> wrote:
On Sunday, 16 February 2014 at 11:43:22 UTC, Jacob Carlborg wrote:
In D1 Tango added a new method, "dispose", to Object. This method is
called when an object is destroyed either when calling "delete" or when
going out of scope for scope declared objects.
Forgot to say, other GC objects are still valid when this method is
called.
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.
-Steve