Remove last activity from CrashHandler
This commit is contained in:
parent
5ff66f5ac9
commit
6ac7a18bf5
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ class CrashHandler @Inject constructor(
|
||||||
fun removeDefaultHandler() {
|
fun removeDefaultHandler() {
|
||||||
Thread.setDefaultUncaughtExceptionHandler(defaultHandler)
|
Thread.setDefaultUncaughtExceptionHandler(defaultHandler)
|
||||||
huskyApp.unregisterActivityLifecycleCallbacks(activityCallbacks)
|
huskyApp.unregisterActivityLifecycleCallbacks(activityCallbacks)
|
||||||
|
lastActivity = null
|
||||||
|
|
||||||
Timber.d("Remove default handler")
|
Timber.d("Remove default handler")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue