From 6348ca4a9d5239e2d21213a505b1fd7568febf03 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Thu, 20 Oct 2022 17:00:00 +0000 Subject: [PATCH] EPUB: fixed unload func not added to section Missed it for some reason --- epub.js | 1 + 1 file changed, 1 insertion(+) diff --git a/epub.js b/epub.js index 80e8a71..65763f3 100644 --- a/epub.js +++ b/epub.js @@ -613,6 +613,7 @@ export class EPUB { return { id: this.resources.getItemByID(idref)?.href, load: () => loader.loadItem(item), + unload: () => loader.unloadItem(item), createDocument: () => this.loadDocument(item), size: this.getSize(item.href), cfi: this.resources.cfis[index],