Skip to content

Commit

Permalink
Add missing exception checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang-mono committed Aug 20, 2020
1 parent f564c1d commit f7eddf1
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 f7eddf1

Please sign in to comment.