diff options
-rw-r--r-- | mono/metadata/threads.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mono/metadata/threads.c b/mono/metadata/threads.c index c756a06c940..3461f81e325 100644 --- a/mono/metadata/threads.c +++ b/mono/metadata/threads.c @@ -4844,13 +4844,6 @@ async_abort_critical (MonoThreadInfo *info, gpointer ud) if (mono_get_eh_callbacks ()->mono_install_handler_block_guard (mono_thread_info_get_suspend_state (info))) return MonoResumeThread; - /* - The target thread is running at least one protected block, which must not be interrupted, so we give up. - The protected block code will give them a chance when appropriate. - */ - if (mono_thread_get_abort_prot_block_count (thread) > 0) - return MonoResumeThread; - /*someone is already interrupting it*/ if (!mono_thread_set_interruption_requested (thread)) return MonoResumeThread; |