src: fix cleanup hook removal for InspectorTimer · nodejs/node@4704e58 · GitHub
Skip to content

Commit 4704e58

Browse files
committed
src: fix cleanup hook removal for InspectorTimer
Fix this to account for the fact that `Stop()` may already have been called from a cleanup hook when the `inspector::Agent` is deleted along with the `Environment`, at which point cleanup hooks are no longer available. Backport-PR-URL: #35241 PR-URL: #32523 Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 4513b6a commit 4704e58

1 file changed

Lines changed: 24 additions & 16 deletions

File tree

src/inspector_agent.cc

Lines changed: 24 additions & 16 deletions

0 commit comments

Comments
 (0)