Commit 011d6f96 authored by Simon Marlow's avatar Simon Marlow
Browse files

Fix for a bug in +RTS -qi (crash in zero_static_object_list)

parent 6a8bdf37
......@@ -651,7 +651,9 @@ GarbageCollect (rtsBool force_major_gc,
zero_static_object_list(gct->scavenged_static_objects);
} else {
for (i = 0; i < n_gc_threads; i++) {
zero_static_object_list(gc_threads[i]->scavenged_static_objects);
if (!gc_threads[i]->idle) {
zero_static_object_list(gc_threads[i]->scavenged_static_objects);
}
}
}
}
......
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