We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c66383 commit 85aec1eCopy full SHA for 85aec1e
js/load-image-scale.js
@@ -259,6 +259,9 @@
259
sourceWidth,
260
sourceHeight
261
)
262
+ img = null;
263
+ sourceWidth = null;
264
+ sourceHeight = null;
265
}
266
267
canvas.width = destWidth
@@ -279,6 +282,8 @@
279
282
280
283
img.width = destWidth
281
284
img.height = destHeight
285
+ canvas = null;
286
+ useCanvas = null;
287
return img
288
289
})
0 commit comments