Skip to content

Commit

Permalink
src: replace deprecated CancelTerminateExecution
Browse files Browse the repository at this point in the history
PR-URL: #5159
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
targos authored and Ali Sheikh committed Mar 4, 2016
1 parent f50ef1a commit 8894f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_contextify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ class ContextifyScript : public BaseObject {
}

if (try_catch.HasCaught() && try_catch.HasTerminated()) {
V8::CancelTerminateExecution(env->isolate());
env->isolate()->CancelTerminateExecution();
env->ThrowError("Script execution timed out.");
try_catch.ReThrow();
return false;
Expand Down

0 comments on commit 8894f27

Please sign in to comment.