This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gh_enter reconsidered


"Peter C. Norton" <spacey@inch.com> writes:

> From the docs for one of the perl modules (the postscript
> thingamajig, I think) there are circumstances under which the perl
> interpreter can't reclaim memory used by objects that have circular
> references.

It can't do so _automatically_.  Objects which know they're going to
contain circular structures need to explicitly break the circularity
in their destructors.