Skip to content

Commit a16ab49

Browse files
authored
fix(worker): Unreference timer created in parseWorkflowCode (#1370)
1 parent b38c70c commit a16ab49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/worker/src/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ export function parseWorkflowCode(code: string, codePath?: string): WorkflowBund
17021702
setTimeout(() => {
17031703
script = undefined;
17041704
context = undefined;
1705-
}, 10000);
1705+
}, 10000).unref();
17061706

17071707
return { code, sourceMap, filename };
17081708
}

0 commit comments

Comments
 (0)