diff options
-rw-r--r-- | mono/utils/mono-threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/utils/mono-threads.c b/mono/utils/mono-threads.c index d0eedf683e9..a33bbf1d019 100644 --- a/mono/utils/mono-threads.c +++ b/mono/utils/mono-threads.c @@ -916,7 +916,7 @@ suspend_sync (MonoNativeThreadId tid, gboolean interrupt_kernel) } break; case AsyncSuspendBlocking: - if (interrupt_kernel) + if (interrupt_kernel && mono_threads_suspend_needs_abort_syscall ()) mono_threads_suspend_abort_syscall (info); break; |