diff --git a/src/mono/System.Private.CoreLib/src/System/Threading/Thread.Mono.cs b/src/mono/System.Private.CoreLib/src/System/Threading/Thread.Mono.cs index c1978eab5f111..2c7c0400c63fc 100644 --- a/src/mono/System.Private.CoreLib/src/System/Threading/Thread.Mono.cs +++ b/src/mono/System.Private.CoreLib/src/System/Threading/Thread.Mono.cs @@ -82,7 +82,7 @@ private Thread() ~Thread() { #if TARGET_UNIX || TARGET_BROWSER - WaitSubsystem.OnThreadExiting(this); + _waitInfo?.OnThreadExiting(); #endif FreeInternal(); }