mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-28 11:58:23 +01:00
Merge pull request #549 from scria1000/gallery-destroy-fix
Don't cancel all ImageLoader instances
This commit is contained in:
commit
806fcf397b
@ -427,7 +427,7 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
|
|||||||
@Override
|
@Override
|
||||||
public void onDestroyView() {
|
public void onDestroyView() {
|
||||||
super.onDestroyView();
|
super.onDestroyView();
|
||||||
BigImageViewer.imageLoader().cancelAll();
|
imageView.cancel();
|
||||||
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
|
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
|
||||||
if (subsamplingScaleImageView != null) {
|
if (subsamplingScaleImageView != null) {
|
||||||
subsamplingScaleImageView.recycle();
|
subsamplingScaleImageView.recycle();
|
||||||
|
Loading…
Reference in New Issue
Block a user