diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-18 13:58:55 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-18 15:01:50 +0200 |
commit | 8759c0e31a21d9f98ac24ac4c88fa86bd72ff68f (patch) | |
tree | c21cb2ffb938f69e5348a1f0e95b7ef172897aeb /modules/mono/mono_gd/gd_mono_utils.cpp | |
parent | d1f98ff51b2e62ddea27fb9b1b9b5fb1ec80dbe0 (diff) | |
download | redot-engine-8759c0e31a21d9f98ac24ac4c88fa86bd72ff68f.tar.gz |
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.cpp | 5 |
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(); } |