Skip to content

Commit f50ef1a

Browse files
targosAli Sheikh
authored and
Ali Sheikh
committed
src: replace deprecated TerminateExecution
PR-URL: #5159 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent ac32340 commit f50ef1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_watchdog.cc

+1-1
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)