Skip to content

Commit

Permalink
Add missing exception checkpoint (#20274)
Browse files Browse the repository at this point in the history
Fixes dotnet/runtime#38826

Co-authored-by: fanyang-mono <[email protected]>
  • Loading branch information
monojenkins and fanyang-mono authored Aug 21, 2020
1 parent e88d9ce commit dc1bd5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mono/mini/interp/interp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3847,6 +3847,7 @@ interp_exec_method (InterpFrame *frame, ThreadContext *context, FrameClauseArgs
frame->state.ip = ip + 6;
ves_pinvoke_method (csignature, (MonoFuncV)code, context, frame, &retval, save_last_error, cache, sp);

EXCEPTION_CHECKPOINT_GC_UNSAFE;
CHECK_RESUME_STATE (context);

if (csignature->ret->type != MONO_TYPE_VOID) {
Expand Down

0 comments on commit dc1bd5b

Please sign in to comment.