Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƫl Zasso <mic.besace@gmail.com>2016-02-09 19:25:36 +0300
committerAli Sheikh <ofrobots@lemonhope.roam.corp.google.com>2016-03-04 07:35:20 +0300
commitf50ef1a46f5647702384c70f2ccb522243402e9b (patch)
tree595260ffa691e0a85e93c40a58a05b7abca92f17 /src/node_watchdog.cc
parentac32340997a0d9f51f3733393d6190b56251910d (diff)
src: replace deprecated TerminateExecution
PR-URL: https://github.com/nodejs/node/pull/5159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/node_watchdog.cc')
-rw-r--r--src/node_watchdog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_watchdog.cc b/src/node_watchdog.cc
index 77f93678fb8..ac9f304926b 100644
--- a/src/node_watchdog.cc
+++ b/src/node_watchdog.cc
@@ -83,7 +83,7 @@ void Watchdog::Async(uv_async_t* async) {
void Watchdog::Timer(uv_timer_t* timer) {
Watchdog* w = ContainerOf(&Watchdog::timer_, timer);
uv_stop(w->loop_);
- V8::TerminateExecution(w->isolate());
+ w->isolate()->TerminateExecution();
}