Commit 758e9a8e authored by Andreas Schwab's avatar Andreas Schwab

Revert "Don't mark main_thread (Bug#36155)"

This reverts commit 1877b7b4.
parent 1877b7b4
......@@ -645,10 +645,7 @@ mark_threads_callback (void *ignore)
Lisp_Object thread_obj;
XSETTHREAD (thread_obj, iter);
/* Don't mark main_thread, since it is not allocated
dynamically, thus nothing would unmark it. */
if (iter != &main_thread)
mark_object (thread_obj);
mark_object (thread_obj);
mark_one_thread (iter);
}
}
......
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