Skip to content

Commit

Permalink
Merge pull request #16953 from ehrenjulzert/timed_get_fix
Browse files Browse the repository at this point in the history
Add error handling to enterContinuationImpl
  • Loading branch information
gacholio authored Mar 20, 2023
2 parents 7eec03e + 1921fb3 commit 6e69d93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/vm/BytecodeInterpreter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5248,6 +5248,11 @@ class INTERPRETER_CLASS

VMStructHasBeenUpdated(REGISTER_ARGS);

if (immediateAsyncPending()) {
rc = GOTO_ASYNC_CHECK;
} else if (VM_VMHelpers::exceptionPending(_currentThread)) {
rc = GOTO_THROW_CURRENT_EXCEPTION;
}
return rc;
}

Expand Down

0 comments on commit 6e69d93

Please sign in to comment.