mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +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
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
BigImageViewer.imageLoader().cancelAll();
|
||||
imageView.cancel();
|
||||
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
|
||||
if (subsamplingScaleImageView != null) {
|
||||
subsamplingScaleImageView.recycle();
|
||||
|
Loading…
Reference in New Issue
Block a user