

diff --git a/plugins/index.json b/plugins/index.json index 3c44771..91c2330 100644 --- a/plugins/index.json +++ b/plugins/index.json @@ -69,9 +69,9 @@ }, { "id": "image-vectorize", - "file": "plugin-image-vectorize.b3a8c21f7a2b.js", - "version": "0.6.2", - "integrity": "sha256-s6jCH3or6tQZ5umJnZ/ka6nk+n5np3elAFaUK1aPV9E=" + "file": "plugin-image-vectorize.a47baa43948e.js", + "version": "0.6.3", + "integrity": "sha256-pHuqQ5SODCQ4EoAXRgKzsHghTLBvKu9pibGz6jNZQrk=" }, { "id": "sticky", diff --git a/plugins/runtime/plugin-image-vectorize.b3a8c21f7a2b.js b/plugins/runtime/plugin-image-vectorize.a47baa43948e.js similarity index 99% rename from plugins/runtime/plugin-image-vectorize.b3a8c21f7a2b.js rename to plugins/runtime/plugin-image-vectorize.a47baa43948e.js index c8b8f14..e09ff7b 100644 --- a/plugins/runtime/plugin-image-vectorize.b3a8c21f7a2b.js +++ b/plugins/runtime/plugin-image-vectorize.a47baa43948e.js @@ -11,7 +11,7 @@ var __IWB_VECTORIZE_MANIFEST__ = { id: 'image-vectorize', name: '位图转矢量', - version: '0.6.2', + version: '0.6.3', apiVersion: 1, skin: 'private', capabilities: ['commands', 'nodeActions', 'canvas', 'canvasWrite'], @@ -3597,6 +3597,11 @@ var __IWB_VECTORIZE_MANIFEST__ = { document.removeEventListener("keyup", onKeyUp, true); window.removeEventListener("blur", onBlur); releasePreview(); + // v0.6.3: free heavy state on close (decoded source image + svg string were retained by the closure) + source = null; + currentSvg = ""; + lastElements = 0; + lastIslands = 0; const node = root; root = null; els = null; diff --git a/site/index.html b/site/index.html index 4e1bf4c..0a2ea9e 100644 --- a/site/index.html +++ b/site/index.html @@ -4,7 +4,7 @@ - +

