Remove bogus assert in Thread::MarkThreadForAbort (dotnet/coreclr#22869)
authorAndrew Au <cshung@gmail.com>
Wed, 27 Feb 2019 04:39:30 +0000 (20:39 -0800)
committerJan Kotas <jkotas@microsoft.com>
Wed, 27 Feb 2019 04:39:30 +0000 (20:39 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/06137e01b64cd7771a229a7eb01ef3c948720bbb

src/coreclr/src/vm/threadsuspend.cpp

index 65a10ee..330eb98 100644 (file)
@@ -2242,8 +2242,6 @@ void Thread::MarkThreadForAbort(ThreadAbortRequester requester, EEPolicy::Thread
     }
     CONTRACTL_END;
 
-    _ASSERTE ((requester & TAR_Thread) == TAR_Thread);
-
     AbortRequestLockHolder lh(this);
 
     if (fTentative)