Fix compacting GC bug: don't forget to thread the blackhole_queue
[ghc-hetmet.git] / rts / sm / Compact.c
index 9f0a69d..7f3bb29 100644 (file)
@@ -996,6 +996,9 @@ compact(StgClosure *static_objects)
     // any threads resurrected during this GC
     thread((void *)&resurrected_threads);
 
+    // the blackhole queue
+    thread((void *)&blackhole_queue);
+
     // the task list
     {
        Task *task;