Skip to content

Commit 4ca3689

Browse files
committed
Fix double gchandle free in thread detach logic
1 parent d81289b commit 4ca3689

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)