SendCrashActivity: fix crash on leave
This commit is contained in:
committed by
Geoffrey Métais
parent
520a9b5953
commit
a343a2a880
@@ -159,7 +159,7 @@ class SendCrashActivity : AppCompatActivity(), DebugLogService.Client.Callback {
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
client.release()
|
||||
if (::client.isInitialized) client.release()
|
||||
super.onDestroy()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user