[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Deleting a Module
From: |
Brad Medeiros |
Subject: |
Deleting a Module |
Date: |
Mon, 11 Oct 2021 00:25:14 -0700 |
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?
Thanks!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Deleting a Module,
Brad Medeiros <=