From: Maxime Devos <maximedevos@telenet.be>
To: Dimitris Papavasiliou <dpapavas@protonmail.ch>,
"guile-user@gnu.org" <guile-user@gnu.org>
Subject: Re: Need help embedding Guile
Date: Tue, 21 Dec 2021 13:45:54 +0000 [thread overview]
Message-ID: <37f55ac35e628f224b4834aaba250fe9854d3a14.camel@telenet.be> (raw)
In-Reply-To: <2a789e248ef8d1922caec7af553cf26e9b360619.camel@telenet.be>
Hi,
Maxime Devos schreef op di 21-12-2021 om 11:37 [+0000]:
> > approach above seems to correctly finalize all objects created
> > as
> > the Scheme
> > code executes, but if references are kept, say via (define),
> > they
> > are not
> > finalized and I get memory leaks.
You can (set! the-global-variable #f) to clear the reference,
though still there are no formal guarantees BDW-GC will collect things.
Greetings,
Maxime
next prev parent reply other threads:[~2021-12-21 13:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 11:12 Need help embedding Guile Dimitris Papavasiliou
2021-12-21 11:37 ` Maxime Devos
2021-12-21 13:45 ` Maxime Devos [this message]
2021-12-21 13:48 ` Maxime Devos
2021-12-21 21:50 ` Dimitris Papavasiliou
2021-12-21 22:39 ` Olivier Dion via General Guile related discussions
2021-12-22 11:41 ` Dimitris Papavasiliou
2021-12-22 13:52 ` Thien-Thi Nguyen
2021-12-22 22:05 ` Dimitris Papavasiliou
2021-12-22 14:46 ` Olivier Dion via General Guile related discussions
2021-12-22 15:23 ` Maxime Devos
2021-12-22 15:29 ` Maxime Devos
2021-12-22 22:14 ` Dimitris Papavasiliou
2021-12-22 17:37 ` Mikael Djurfeldt
2021-12-23 9:40 ` Mikael Djurfeldt
2021-12-29 16:26 ` Olivier Dion via General Guile related discussions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37f55ac35e628f224b4834aaba250fe9854d3a14.camel@telenet.be \
--to=maximedevos@telenet.be \
--cc=dpapavas@protonmail.ch \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).