On Thu, Mar 19, 2015 at 12:21 PM, Christopher Collins
<ccollins47...@gmail.com> wrote:
> Hello Chicken users,
>
> I'm struggling with an issue where a scheme object is being unexpectedly
> garbage collected.

Just to provide an update - the problem appears to be solved.  My mistake was
that I was reusing a reference obtained from CHICKEN_gc_root_ref() for several
calls into scheme.  The fix was to call CHICKEN_gc_root_ref() each and every
time I need to access the scheme object.  Lesson learned :).

Thanks again,
Chris

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to