8000 fix(node): Clear ANR timer on stop (#11229) · basarat/sentry-javascript@164b1f2 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 164b1f2

Browse files
authored
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 f078a3b commit 164b1f2

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)
0