Skip to content

Commit 150efa6

Browse files
committed
src: replace usage of deprecated TerminateExecution
PR-URL: #5159 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 161c45e commit 150efa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_watchdog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void Watchdog::Async(uv_async_t* async) {
8383
void Watchdog::Timer(uv_timer_t* timer) {
8484
Watchdog* w = ContainerOf(&Watchdog::timer_, timer);
8585
uv_stop(w->loop_);
86-
V8::TerminateExecution(w->isolate());
86+
w->isolate()->TerminateExecution();
8787
}
8888

8989

0 commit comments

Comments
 (0)