Don't cancel all ImageLoader instances

This commit is contained in:
scria1000 2021-11-26 14:49:12 +03:00
parent 1b39925cf8
commit 86d9761f09

View File

@ -427,7 +427,7 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
@Override
public void onDestroyView() {
super.onDestroyView();
BigImageViewer.imageLoader().cancelAll();
imageView.cancel();
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
if (subsamplingScaleImageView != null) {
subsamplingScaleImageView.recycle();