diff --git a/packages/node-experimental/src/integrations/anr/index.ts b/packages/node-experimental/src/integrations/anr/index.ts index cd18556ef23d..8e28e0eb3535 100644 --- a/packages/node-experimental/src/integrations/anr/index.ts +++ b/packages/node-experimental/src/integrations/anr/index.ts @@ -175,5 +175,6 @@ async function _startWorker( return () => { // eslint-disable-next-line @typescript-eslint/no-floating-promises worker.terminate(); + clearInterval(timer); }; }