Skip to content

Commit 3f77083

Browse files
timfishcadesalaberry
authored andcommitted
fix(node): Clear ANR timer on stop (getsentry#11229)
This was missed from the original PR getsentry#11214 but is already included in the backport getsentry#11228
1 parent 796c665 commit 3f77083

File tree

1 file changed

+1
-0
lines changed
  • packages/node-experimental/src/integrations/anr

1 file changed

+1
-0
lines changed

packages/node-experimental/src/integrations/anr/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,6 @@ async function _startWorker(
175175
return () => {
176176
// eslint-disable-next-line @typescript-eslint/no-floating-promises
177177
worker.terminate();
178+
clearInterval(timer);
178179
};
179180
}

0 commit comments

Comments
 (0)