Skip to content

Commit

Permalink
fix(node): Clear ANR timer on stop (getsentry#11229)
Browse files Browse the repository at this point in the history
This was missed from the original PR getsentry#11214 but is already included in
the backport getsentry#11228
  • Loading branch information
timfish authored and cadesalaberry committed Apr 19, 2024
1 parent 796c665 commit 3f77083
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/node-experimental/src/integrations/anr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,6 @@ async function _startWorker(
return () => {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
worker.terminate();
clearInterval(timer);
};
}

0 comments on commit 3f77083

Please sign in to comment.