Skip to content

Commit 73c0f1d

Browse files
committed
reverse the failfast condition
1 parent 43e8681 commit 73c0f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/vm/ceemain.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ void InitFlsSlot()
17911791
// thread - thread to attach
17921792
static void OsAttachThread(void* thread)
17931793
{
1794-
if (flsState != FLS_STATE_INVOKED)
1794+
if (flsState == FLS_STATE_INVOKED)
17951795
{
17961796
_ASSERTE_ALL_BUILDS(!"Attempt to execute managed code after the .NET runtime thread state has been destroyed.");
17971797
}

0 commit comments

Comments
 (0)