sjl / temperance

A logic programming library for Common Lisp.
https://sjl.bitbucket.io/temperance
MIT License
58 stars 5 forks source link

Null out the code store and heap when deallocating #1

Open sjl opened 8 years ago

sjl commented 8 years ago

Now that the WAM's data structures can contain pointers to arbitrary Lisp objects, we should null out regions when we deallocate them to avoid hanging onto things and preventing the GC from collecting them.