Unverified Commit 583edd95 authored by Anna Henningsen's avatar Anna Henningsen
Browse files

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.

PR-URL: https://github.com/nodejs/node/pull/32523


Reviewed-By: default avatarMatheus Marchini <mat@mmarchini.me>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent c6642145
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment