Skip to content

Commit 758e9a8

Browse files
Revert "Don't mark main_thread (Bug#36155)"
This reverts commit 1877b7b.
1 parent 1877b7b commit 758e9a8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/thread.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,10 +645,7 @@ mark_threads_callback (void *ignore)
645645
Lisp_Object thread_obj;
646646

647647
XSETTHREAD (thread_obj, iter);
648-
/* Don't mark main_thread, since it is not allocated
649-
dynamically, thus nothing would unmark it. */
650-
if (iter != &main_thread)
651-
mark_object (thread_obj);
648+
mark_object (thread_obj);
652649
mark_one_thread (iter);
653650
}
654651
}

0 commit comments

Comments
 (0)