summaryrefslogtreecommitdiffstats
path: root/modules/mono/mono_gd/gd_mono_utils.cpp
diff options
context:
space:
mode:
authorIgnacio Roldán Etcheverry <neikeq@users.noreply.github.com>2019-04-18 16:26:54 +0200
committerGitHub <noreply@github.com>2019-04-18 16:26:54 +0200
commit392f1491e1116ea582b32ee813de3fd792f6abfb (patch)
treece04419dbd1fc226d6424bf730979235c59ec49d /modules/mono/mono_gd/gd_mono_utils.cpp
parent1b3ea697c5dcbbb2feb0f96204de257532edaf0c (diff)
parent8759c0e31a21d9f98ac24ac4c88fa86bd72ff68f (diff)
downloadredot-engine-392f1491e1116ea582b32ee813de3fd792f6abfb.tar.gz
Merge pull request #28161 from neikeq/exception-hook-no-abort
Mono: Use exit(status) instead of abort() in exception hook
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_utils.cpp')
-rw-r--r--modules/mono/mono_gd/gd_mono_utils.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/mono/mono_gd/gd_mono_utils.cpp b/modules/mono/mono_gd/gd_mono_utils.cpp
index 429d4f68d9..bcf5712d16 100644
--- a/modules/mono/mono_gd/gd_mono_utils.cpp
+++ b/modules/mono/mono_gd/gd_mono_utils.cpp
@@ -632,11 +632,6 @@ void debug_send_unhandled_exception_error(MonoException *p_exc) {
}
void debug_unhandled_exception(MonoException *p_exc) {
-#ifdef DEBUG_ENABLED
- GDMonoUtils::debug_send_unhandled_exception_error(p_exc);
- if (ScriptDebugger::get_singleton())
- ScriptDebugger::get_singleton()->idle_poll();
-#endif
GDMonoInternals::unhandled_exception(p_exc); // prints the exception as well
GD_UNREACHABLE();
}