mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
add leak canary
This commit is contained in:
parent
60b61184d6
commit
1eecbd73f2
@ -225,4 +225,7 @@ dependencies {
|
|||||||
|
|
||||||
//代码编辑com.github.AmrDeveloper:CodeView已集成到应用内
|
//代码编辑com.github.AmrDeveloper:CodeView已集成到应用内
|
||||||
//epubLib集成到应用内
|
//epubLib集成到应用内
|
||||||
|
|
||||||
|
// LeakCanary
|
||||||
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
|
||||||
}
|
}
|
||||||
|
@ -976,6 +976,7 @@ class ReadBookActivity : BaseReadBookActivity(),
|
|||||||
textActionMenu.dismiss()
|
textActionMenu.dismiss()
|
||||||
binding.readView.onDestroy()
|
binding.readView.onDestroy()
|
||||||
ReadBook.msg = null
|
ReadBook.msg = null
|
||||||
|
ReadBook.callBack = null
|
||||||
if (!BuildConfig.DEBUG) {
|
if (!BuildConfig.DEBUG) {
|
||||||
Backup.autoBack(this)
|
Backup.autoBack(this)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user