Skip to content

Commit

Permalink
[mono] Add GC unsafe transition to mono_unhandled_exception (#56380)
Browse files Browse the repository at this point in the history
* Fix assert gc_unsafe.

* Update src/mono/mono/metadata/object.c

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
  • Loading branch information
thaystg and lambdageek committed Jul 28, 2021
1 parent b209dec commit 5ade773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/metadata/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -4148,7 +4148,7 @@ mono_unhandled_exception_internal (MonoObject *exc_raw)
void
mono_unhandled_exception (MonoObject *exc)
{
MONO_EXTERNAL_ONLY_VOID (mono_unhandled_exception_internal (exc));
MONO_EXTERNAL_ONLY_GC_UNSAFE_VOID (mono_unhandled_exception_internal (exc));
}

static MonoObjectHandle
Expand Down

0 comments on commit 5ade773

Please sign in to comment.