-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
process: refactor promise rejection handling #25200
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
Changes from all commits
a9bd4b0
8f78021
bdad2db
4a6765b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,6 +241,10 @@ Environment::Environment(IsolateData* isolate_data, | |
if (options_->no_force_async_hooks_checks) { | ||
async_hooks_.no_force_checks(); | ||
} | ||
|
||
// TODO(addaleax): the per-isolate state should not be controlled by | ||
// a single Environment. | ||
isolate()->SetPromiseRejectCallback(task_queue::PromiseRejectCallback); | ||
|
||
} | ||
|
||
Environment::~Environment() { | ||
|
Uh oh!
There was an error while loading. Please reload this page.