Remove last activity from CrashHandler

This commit is contained in:
Adolfo Santiago 2022-06-25 10:02:35 +02:00
parent 5ff66f5ac9
commit 6ac7a18bf5
No known key found for this signature in database
GPG key ID: 244D6F9A317B4A65

View file

@ -150,6 +150,7 @@ class CrashHandler @Inject constructor(
fun removeDefaultHandler() {
Thread.setDefaultUncaughtExceptionHandler(defaultHandler)
huskyApp.unregisterActivityLifecycleCallbacks(activityCallbacks)
lastActivity = null
Timber.d("Remove default handler")
}