Skip to content

Commit

Permalink
fix(plugin): added revokeObjectURL
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Aug 18, 2024
1 parent e5c263e commit 389b23e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tmpl/plugin.tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ async function getImageSize (src) {
Buffer.from(await res.arrayBuffer())
);
const dimension = await imageMeta(data);
URL.revokeObjectURL(blob)
dimensionCache.set(url, dimension);
}
Expand Down

0 comments on commit 389b23e

Please sign in to comment.