Refactoring and tidy up
[ghc-hetmet.git] / rts / sm / Compact.c
index ff7480c..1b57c53 100644 (file)
@@ -942,6 +942,8 @@ compact(StgClosure *static_objects)
     // 1. thread the roots
     markCapabilities((evac_fn)thread_root, NULL);
 
+    markScheduler((evac_fn)thread_root, NULL);
+
     // the weak pointer lists...
     if (weak_ptr_list != NULL) {
        thread((void *)&weak_ptr_list);