From: Ludovic Henry Date: Thu, 21 Sep 2017 13:03:18 +0000 (-0400) Subject: [threads] Keep the tid after the thread has finished (#5615) X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=96ace09a50ba9b93a6b88da2f6ed2c87b7381b99 [threads] Keep the tid after the thread has finished (#5615) --- diff --git a/mono/metadata/threads.c b/mono/metadata/threads.c index 3eb6b3b623c..3b5b518666b 100644 --- a/mono/metadata/threads.c +++ b/mono/metadata/threads.c @@ -1023,8 +1023,6 @@ static guint32 WINAPI start_wrapper_internal(StartInfo *start_info, gsize *stack mono_thread_detach_internal (internal); - internal->tid = 0; - return(0); }