[cc trimmed] () Dimitris Papavasiliou () Wed, 22 Dec 2021 11:41:22 +0000 One idea would be to simply call `scm_gc()' and `scm_run_finalizers()' until the latter returns 0. As far as I can see, this should ensure all finalizers are called, assumming no references to any foreign objects remain, but I see no way of ensuring the latter short of process termination... Do guardians help for this? I typed "scheme guardians finalization" into duckduckgo and the first hit was: https://www.cs.tufts.edu/~nr/cs257/archive/kent-dybvig/guardians.pdf -- Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) ; (2021) Software Libero (pcase (context query) ; = Dissenso Etico (`(technical ,ml) (correctp ml)) ...)) 748E A0E8 1CB8 A748 9BFA --------------------------------------- 6CE4 6703 2224 4C80 7502