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 8894f27

Browse filesBrowse files
targosAli Sheikh
authored andcommitted
src: replace deprecated CancelTerminateExecution
PR-URL: #5159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent f50ef1a commit 8894f27
Copy full SHA for 8894f27

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎src/node_contextify.cc‎

Copy file name to clipboardExpand all lines: src/node_contextify.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ class ContextifyScript : public BaseObject {
837837
}
838838

839839
if (try_catch.HasCaught() && try_catch.HasTerminated()) {
840-
V8::CancelTerminateExecution(env->isolate());
840+
env->isolate()->CancelTerminateExecution();
841841
env->ThrowError("Script execution timed out.");
842842
try_catch.ReThrow();
843843
return false;

0 commit comments

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