November 12, 2014
It can work with only managed destructor - that's how it's usually done. Finalizer only guards against slow resource leak when you forget to free them.
November 12, 2014
On Wednesday, 12 November 2014 at 14:42:38 UTC, eles wrote:
> Which is why this approach is so cumbersome. At least, in non-GC you only have just one kind of destructor.

It's not necessarily very cumbersome. Standard library usually provides necessary integration: http://blogs.msdn.com/b/bclteam/archive/2005/03/16/396900.aspx
1 2
Next ›   Last »