diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index 747742a59..01d71d9d0 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -324,6 +324,7 @@ class PhotoFragment : ViewPagerFragment() { super.onDestroyView() if (activity?.isActivityDestroyed() == false) { Glide.with(context).clear(view.gif_view) + view.subsampling_view.recycle() } }