diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index a8f2c484a..9045305b5 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -502,6 +502,11 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_boo } ?: super.finish() } + override fun onDestroy() { + super.onDestroy() + mHandler.removeCallbacks(keepScreenRunnable) + } + override fun observeLiveBus() { super.observeLiveBus() observeEvent(Bus.ALOUD_STATE) {