Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 3e825e7

Browse files
committed
add missing abort clause in runUpdateSourceFilesLoop
1 parent 8f2359a commit 3e825e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/zinnia.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ const runUpdateSourceFilesLoop = async ({
151151
moduleSourcesDir
152152
}) => {
153153
while (true) {
154+
if (signal.aborted) {
155+
return
156+
}
154157
const delay = 10 * 60 * 1000 // 10 minutes
155158
const jitter = Math.random() * 20_000 - 10_000 // +- 10 seconds
156159
try {

0 commit comments

Comments
 (0)