Skip to content

Commit 28bfa8c

Browse files
authored
Merge pull request #1364 from Unity-Technologies/unity-master-fix-1295072
After adding the concept of a pending threads join list boehm was not…
2 parents e517929 + 1ee3092 commit 28bfa8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mono/metadata/boehm-gc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,7 @@ mono_gc_thread_detach_with_lock (MonoThreadInfo *p)
567567

568568
tid = mono_thread_info_get_tid (p);
569569

570-
if (p->runtime_thread)
571-
mono_threads_add_joinable_thread ((gpointer)tid);
570+
mono_threads_add_joinable_runtime_thread(p);
572571

573572
mono_handle_stack_free (p->handle_stack);
574573
p->handle_stack = NULL;

0 commit comments

Comments
 (0)