Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mono/mini/debugger-agent.c')
-rw-r--r--mono/mini/debugger-agent.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mono/mini/debugger-agent.c b/mono/mini/debugger-agent.c
index ac6fc504871..ae697d64fa0 100644
--- a/mono/mini/debugger-agent.c
+++ b/mono/mini/debugger-agent.c
@@ -2870,10 +2870,8 @@ suspend_vm (void)
tp_suspend = TRUE;
mono_loader_unlock ();
-#ifndef ENABLE_NETCORE
if (tp_suspend)
mono_threadpool_suspend ();
-#endif
}
/*
@@ -2913,10 +2911,8 @@ resume_vm (void)
tp_resume = TRUE;
mono_loader_unlock ();
-#ifndef ENABLE_NETCORE
if (tp_resume)
mono_threadpool_resume ();
-#endif
}
/*
@@ -7107,10 +7103,8 @@ vm_commands (int command, int id, guint8 *p, guint8 *end, Buffer *buf)
mono_environment_exitcode_set (exit_code);
/* Suspend all managed threads since the runtime is going away */
-#ifndef ENABLE_NETCORE
PRINT_DEBUG_MSG (1, "Suspending all threads...\n");
mono_thread_suspend_all_other_threads ();
-#endif
PRINT_DEBUG_MSG (1, "Shutting down the runtime...\n");
mono_runtime_quit_internal ();
transport_close2 ();