GC has a "barbaric" destroyng model, I think

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 12 04:41:41 PST 2015


On Thu, 12 Feb 2015 12:10:21 +0000, Andrey Derzhavin wrote:

> if GC does not guarantee the calling of dtor we can't be sure that some
> textures will be destroyed.
> It will be followed by overflowing of the video memory.
> And it is obvious, becouse we have no way to detect when the objects are
> destroyed.
> The video memory will leaks.

that is the way garbage collection works.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150212/37c91727/attachment.sig>


More information about the Digitalmars-d-learn mailing list