diff --git a/composables/worker/7zip-manager.ts b/composables/worker/7zip-manager.ts index 392d3aa..c884787 100644 --- a/composables/worker/7zip-manager.ts +++ b/composables/worker/7zip-manager.ts @@ -159,7 +159,8 @@ export class SevenZipManager { const blob = new Blob([buffer as unknown as Uint8Array], { type: mime.getType(file.extension!) || "application/octet-stream" }); const blobUrl = URL.createObjectURL(blob); - // this.sevenZip.FS.unlink(file.path.substring(1)); + // remove the file after extract local blob url + this.sevenZip.FS.unlink(file.path.substring(1)); return blobUrl; }