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

closes #323
This commit is contained in:
hyb1996
2018-03-30 12:48:09 +08:00
parent 61ba5dbed5
commit 47faa1f69e

View File

@@ -133,4 +133,13 @@ public class ImageWrapper {
} }
} }
@Override
protected void finalize() throws Throwable {
try {
recycle();
} finally {
super.finalize();
}
}
} }