On Fri, 23 Jan 2015 23:28:28 +0000, Matthias Bentrup wrote:

> If the program ends before the next GC the destructor is never called.
nope.

  class A {
    ~this () { import iv.writer; writeln("dtor"); }
  }

  void main () {
    auto n = new A;
    assert(0);
  }

this outputs "dtor".

Attachment: signature.asc
Description: PGP signature

Reply via email to