diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/thread.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/thread.c b/src/thread.c index e2158019839..0cd1ae33dc2 100644 --- a/src/thread.c +++ b/src/thread.c | |||
| @@ -645,10 +645,7 @@ mark_threads_callback (void *ignore) | |||
| 645 | Lisp_Object thread_obj; | 645 | Lisp_Object thread_obj; |
| 646 | 646 | ||
| 647 | XSETTHREAD (thread_obj, iter); | 647 | XSETTHREAD (thread_obj, iter); |
| 648 | /* Don't mark main_thread, since it is not allocated | 648 | mark_object (thread_obj); |
| 649 | dynamically, thus nothing would unmark it. */ | ||
| 650 | if (iter != &main_thread) | ||
| 651 | mark_object (thread_obj); | ||
| 652 | mark_one_thread (iter); | 649 | mark_one_thread (iter); |
| 653 | } | 650 | } |
| 654 | } | 651 | } |