[runtime] Move mono_invoke_unhandled_exception_hook to metadata
[mono.git] / mono / mini / mini-llvm.c
index 6031df370c283e4be3816e4640b24b6528739bb4..e08765758f495716906462e84f10a42f9bbafc3b 100644 (file)
@@ -9034,6 +9034,7 @@ default_mono_llvm_unhandled_exception (void)
        MonoObject *target = mono_gchandle_get_target (jit_tls->thrown_exc);
 
        mono_unhandled_exception (target);
+       // AK: should we call mono_invoke_unhandled_exception_hook here?
        exit (mono_environment_exitcode_get ());
 }