Revert "Don't mark main_thread (Bug#36155)"
This reverts commit 1877b7b4d7
.
This commit is contained in:
parent
1877b7b4d7
commit
758e9a8ed4
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue