[Issue 4621] Destructors are inherently un- at safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 12 06:43:39 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4621
--- Comment #10 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-08-12 06:43:37 PDT ---
(In reply to comment #8)
> C# and Java have safe finalizers.
According to the few pages I googled for C# finalizers, this is not true. You
are not supposed to access/attempt to destroy GC managed resources. In fact,
C# doesn't even allow manual deletion of such resources. The only purpose of
finalizers is to clean up non-GC resources.
After reading those pages, it looks like C# is almost identical in the
restrictions and guarantees as D is.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list