https://issues.dlang.org/show_bug.cgi?id=17563
safety0ff.bugz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from safety0ff.bugz <[email protected]> --- An alternative solution worth considering is adding a parameter to destructors (e.g. ~this(bool gcfinalizer=false)) and have the compiler handle compatibility. The advantage is that it is a better interface for future/alternate GC sweep implementations. For example lazy/incremental sweep, concurrent sweep would need to use thread local variables to manage the status. --
