On 8/29/14, 3:53 AM, "Marc Schütz" <schue...@gmx.net>" wrote:
Jacob Carlborg just recently brought this up in another thread. Isn't it
kind of consensus that calling a destructor from the GC is not a good
idea because of the restrictions that apply in this context? Andrei even
wanted to deprecate destructors for classes because of this. Maybe a
better direction would be to separate the concepts of destruction and
finalization, and introduce two kinds of "destructors" for them.

I think we need to stay with what we have. Adding a distinct kind of destructor might be interesting. -- Andrei

Reply via email to