chickadee » jiffi » gc-root-delete!

gc-root-delete! rootprocedure

Delete the given GC root. You should delete GC roots when you are done using them, to avoid memory leaks. Do not pass a GC root pointer to gc-root-ref after it has been deleted.

root must be a pointer to a GC root, such as one created by call-with-gc-root or make-gc-root.

This is a binding to CHICKEN_delete_gc_root.