fix(images): it seems that memory leak of images has been fixed

closes #323
This commit is contained in:
hyb1996 committed 2018-03-30 12:48:09 +08:00
1 parent 61ba5dbed5
commit 47faa1f69e
1 file changed
+9
@@ -133,4 +133,13 @@ public class ImageWrapper {
}
}
@Override
protected void finalize() throws Throwable {
try {
recycle();
} finally {
super.finalize();
}
}
}