Skip to content

Commit

Permalink
Fix: Error opening some images
Browse files Browse the repository at this point in the history
  • Loading branch information
ollm committed Oct 10, 2023
1 parent 2cbe23c commit 8b97435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ async function openComic(animation = true, path = true, mainPath = true, end = f
{
let fileImage = fileManager.file(file.path);
let images = await fileImage.images(4);
file.destroy();
fileImage.destroy();

if(images.length > 0)
{
Expand Down

0 comments on commit 8b97435

Please sign in to comment.