Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the checkNextTick call at the bottom of the deliver method, it u…
…sed to be previously at the top of the method because the deliver method was rethrowing the exception to signal the context of an unhandled exception. Instead now we report the exception to ContextInternal#reportException and we call heckNextTick after. The consumer might have been paused, so that will avoid to run an event loop task in this situation
- Loading branch information
Showing
1 changed file
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters