src: make watchdog async callback a lambda · nodejs/node@55a313b · GitHub
Skip to content

Commit 55a313b

Browse files
gireeshpunathiladdaleax
authored andcommitted
src: make watchdog async callback a lambda
`Watchdog::Async` features only once for the async callback, so make it a lambda. PR-URL: #25945 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent de9f37d commit 55a313b

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

src/node_watchdog.cc

Lines changed: 5 additions & 8 deletions

src/node_watchdog.h

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)