Commit 8807bf8f authored by Simon Marlow's avatar Simon Marlow

fix GC bug introduced with the C finalizer support

parent e50c1ea3
......@@ -640,6 +640,7 @@ thread_obj (StgInfoTable *info, StgPtr p)
case WEAK:
{
StgWeak *w = (StgWeak *)p;
thread(&w->cfinalizer);
thread(&w->key);
thread(&w->value);
thread(&w->finalizer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment