diff --git a/SrcJuMethod.js b/SrcJuMethod.js index 59311e8a..92182386 100644 --- a/SrcJuMethod.js +++ b/SrcJuMethod.js @@ -139,6 +139,7 @@ function imageCompress(imgurl,fileid) { let bitmap; if (typeof path === "object" && path.getClass) { bitmap = BitmapFactory.decodeStream(path, null, options); + closeMe(path); } else { bitmap = BitmapFactory.decodeFile(path, options); }