summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index b8ca56fd372..ef0c989bd25 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -702,6 +702,9 @@ void
unmark_main_thread (void)
{
main_thread.s.header.size &= ~ARRAY_MARK_FLAG;
+#ifdef USE_INCREMENTAL_GC
+ main_thread.s.header.s.new_flags = 0;
+#endif /* USE_INCREMENTAL_GC */
}