Browse Source

src: replace deprecated TerminateExecution

PR-URL: https://github.com/nodejs/node/pull/5159
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
process-exit-stdio-flushing
Michaël Zasso 9 years ago
committed by Ali Sheikh
parent
commit
f50ef1a46f
  1. 2
      src/node_watchdog.cc

2
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();
}

Loading…
Cancel
Save