Skip to content

Commit 7e7a83f

Browse files
authored
Merge pull request #1006 from Unity-Technologies/unity-master-fix-unstable-android
Fix double gchandle free in thread detach logic (1062208)
2 parents d81289b + 4ca3689 commit 7e7a83f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mono/metadata/threads.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3054,8 +3054,6 @@ thread_detach (MonoThreadInfo *info)
30543054
internal = (MonoInternalThread*) mono_gchandle_get_target (gchandle);
30553055
g_assert (internal);
30563056

3057-
mono_gchandle_free (gchandle);
3058-
30593057
mono_thread_detach_internal (internal);
30603058
}
30613059

0 commit comments

Comments
 (0)