Revert "Don't mark main_thread (Bug#36155)"
This reverts commit 1877b7b4d7.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user