Работа над проектом

This commit is contained in:
Book Pauk
2022-09-25 17:27:40 +07:00
parent 7e5ea30579
commit e6d0c6e519
7 changed files with 117 additions and 63 deletions

View File

@@ -46,9 +46,9 @@ class ZipReader {
await this.zip.extract(null, outputDir);
}
close() {
async close() {
if (this.zip) {
this.zip.close();
await this.zip.close();
this.zip = null;
this.zipEntries = undefined;
}