On Wednesday, 28 June 2017 at 12:28:28 UTC, Guillaume Piolat
wrote:
On Wednesday, 28 June 2017 at 11:21:07 UTC, Moritz Maxeiner
wrote:
On Wednesday, 28 June 2017 at 09:16:22 UTC, Guillaume Piolat
wrote:
So far everyone is ignoring my example when A needs B to be
destroyed. This happens as soon as you use DerelictUtil for
example.
I thought I had (implicitly): B needs to be `@disable
finalize`.
So in the current language, doesn't exist?
I thought that was the premise of the discussion?
That the GC *currently* invokes the "destructors" as finalizers
and that *currently* the only way to avoid that is calling
`destroy` on them manually beforehand (since destructors won't be
called twice on a single object).