|
@@ -6358,7 +6358,7 @@ pre code {
|
|
|
workerScripts: { inflate: ["/lib/single-file-z-worker.js"] }
|
|
workerScripts: { inflate: ["/lib/single-file-z-worker.js"] }
|
|
|
};
|
|
};
|
|
|
try {
|
|
try {
|
|
|
- const worker = new Worker(zipOptions.workerScripts);
|
|
|
|
|
|
|
+ const worker = new Worker(zipOptions.workerScripts.inflate[0]);
|
|
|
worker.terminate();
|
|
worker.terminate();
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
delete zipOptions.workerScripts;
|
|
delete zipOptions.workerScripts;
|