Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update thread.js.pp #822

Merged
merged 2 commits into from
Nov 16, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update thread.js.pp
  • Loading branch information
angerman authored Nov 13, 2021
commit 6061eb99888b864d93622ee2f40e22232b3c8774
4 changes: 4 additions & 0 deletions lib/boot/shims/src/thread.js.pp
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,10 @@ function h$runThreadSliceCatch(c) {
h$stack = null;
h$reportMainLoopException(e, true);
h$doneMain_e();
} else if (e.name === 'ReferenceError') {
h$stack = null;
h$reportMainLoopException(e, false);
h$exitProcess(1);
} else {
h$stack = null;
h$reportMainLoopException(e, false);
Expand Down