Skip to content

Commit

Permalink
Add error handling to enterContinuationImpl
Browse files Browse the repository at this point in the history
Fixes #16729

Signed-off-by: Ehren Julien-Neitzert <[email protected]>
  • Loading branch information
Ehren Julien-Neitzert committed Mar 17, 2023
1 parent 9e9fe32 commit 1921fb3
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 1921fb3

Please sign in to comment.