diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt index 672c5381e..4280ac417 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt @@ -162,6 +162,12 @@ class SimulationPageDelegate(pageView: PageView) : HorizontalPageDelegate(pageVi } override fun onScrollStop() { + prevBitmap?.recycle() + prevBitmap = null + nextBitmap?.recycle() + nextBitmap = null + curBitmap?.recycle() + curBitmap = null if (!isCancel) { pageView.fillPage(mDirection) }