A better way to check if the gc is running
Jacob Carlborg
doob at me.com
Sat Dec 14 13:30:00 UTC 2019
On 2019-12-12 10:00, Petar Kirov [ZombineDev] wrote:
> I agree that this is a good idea. It shouldn't be hard to implement as
> the GC implementation already has this information available, so it's
> just a matter of exposing it through the layers.
In Tango for D1, Object has an additional method, `dispose`, which is
called by explicit `delete` or when the scope exists and the class
variable is declared `scope`.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list