Skip to content

Program stays alive for a while after writing the zip file in Deno #516

Answered by gildas-lormeau
mybearworld asked this question in Q&A
Discussion options

You must be logged in to vote

This is due to the fact that web workers stay alive 5 seconds (default value). You can terminate them after await zipWriter.close() by calling await terminateWorkers(). Alternatively, you can also call configure({ terminateWorkerTimeout: 0 }) before calling await zipWriter.add(...).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gildas-lormeau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #515 on May 23, 2024 21:57.