SendCrashActivity: fix crash on leave

This commit is contained in:
Geoffrey Métais
2019-08-07 12:10:01 +02:00
committed by Geoffrey Métais
parent 520a9b5953
commit a343a2a880

View File

@@ -159,7 +159,7 @@ class SendCrashActivity : AppCompatActivity(), DebugLogService.Client.Callback {
}
override fun onDestroy() {
client.release()
if (::client.isInitialized) client.release()
super.onDestroy()
}