fix(images): it seems that memory leak of images has been fixed
closes #323
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user