[Issue 4092] broken memory management for COM objects derived from IUnknown
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 27 13:52:30 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4092
--- Comment #14 from Rainer Schuetze <r.sagitario at gmx.de> 2013-09-27 13:52:28 PDT ---
The reference count might be slightly different than what's used in a language
without GC, but I think starting at 0 is appropriate here. The object pointer
can be used by the D program without any reference counting, it is only used to
count (external) references to COM interfaces to avoid premature collection by
keeping a root to the object in the GC.
--
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