unofficial mirror of 
 help / color / mirror / Atom feed
* Deleting a Module
@ 2021-10-11  7:25 Brad Medeiros
  0 siblings, 0 replies; only message in thread
From: Brad Medeiros @ 2021-10-11  7:25 UTC (permalink / raw)
  To: guile-user

Hi Everyone!

I currently use guile's module system for a scripting plugin style system,
where these plugins should get loaded and unloaded fairly often.

After profiling my code, I realize that I'm leaking memory, and I'm pretty
sure it's because the modules I've created never get cleaned up.

I create the modules with scm_c_define_module, but is there functionality
that can be used as the equivalent of what would be a
corresponding scm_c_undefine_module, or even something like a reload that I
could use to create a pool of modules to reuse?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-11  7:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11  7:25 Deleting a Module Brad Medeiros

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).