Fix crash in LoadImageView

This commit is contained in:
NekoInverter committed 2020-11-14 09:22:57 +08:00
1 parent 3c023aa2a3
commit b400dd12c4
1 file changed
+6 -2
@@ -120,8 +120,12 @@ public class LoadImageView extends FixedAspectImageView implements Unikery<Image
super.onDetachedFromWindow();
if (!mLoadFromDrawable) {
// Cancel
mConaco.cancel(this);
try {
// Cancel
mConaco.cancel(this);
} catch (Exception e) {
// Ignore
}
// Clear drawable
clearDrawable();
}