mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
76acb9109a
commit
c9d07d08c4
@ -163,6 +163,7 @@ class AboutFragment : PreferenceFragmentCompat() {
|
|||||||
return@async
|
return@async
|
||||||
}
|
}
|
||||||
toastOnUi("开始创建堆转储")
|
toastOnUi("开始创建堆转储")
|
||||||
|
System.gc()
|
||||||
CrashHandler.doHeapDump()
|
CrashHandler.doHeapDump()
|
||||||
val heapFile = FileDoc.fromFile(File(appCtx.externalCacheDir, "heapDump")).list()
|
val heapFile = FileDoc.fromFile(File(appCtx.externalCacheDir, "heapDump")).list()
|
||||||
?.firstOrNull() ?: let {
|
?.firstOrNull() ?: let {
|
||||||
|
Loading…
Reference in New Issue
Block a user