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