Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce106df

Browse filesBrowse files
oyydtargos
authored andcommitted
src: use maybe version v8::Function::Call
Refs: #23804 PR-URL: #23826 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9011db4 commit ce106df
Copy full SHA for ce106df

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎src/callback_scope.cc‎

Copy file name to clipboardExpand all lines: src/callback_scope.cc
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ void InternalCallbackScope::Close() {
114114

115115
if (!env_->can_call_into_js()) return;
116116

117-
if (env_->tick_callback_function()->Call(process, 0, nullptr).IsEmpty()) {
117+
if (env_->tick_callback_function()
118+
->Call(env_->context(), process, 0, nullptr).IsEmpty()) {
118119
failed_ = true;
119120
}
120121
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.