<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 4, 2024, at 8:27 AM, Grégory Vanuxem <<a href="mailto:g.vanuxem@gmail.com" class="">g.vanuxem@gmail.com</a>> wrote:</div><div class=""><div class=""><br class="">In CL I only keep a reference to this Julia object in a very small CL<br class="">class instance that contains the Julia type and the Julia hashtable<br class="">reference key.<br class=""><br class="">After, the CCL GC does its job, but **my problem here**, see this<br class="">discussion before, CCL:terminate is never called.</div></div></blockquote><div><br class=""></div><div>My guess is you need to use a weak hash table:</div><div><br class=""></div><div><a href="https://ccl.clozure.com/docs/ccl.html#weak-references" class="">https://ccl.clozure.com/docs/ccl.html#weak-references</a></div><div><br class=""></div><div>rg</div><div><br class=""></div></div></body></html>