[Android] Update SendCrashActivity.kt
Geoffrey Métais
git at videolan.org
Thu Aug 8 13:54:12 CEST 2019
vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey at videolan.org> | Wed Aug 7 14:04:38 2019 +0200| [a8f2e12abc8b1ac2fc4b93314f28a4e3c887f786] | committer: Geoffrey Métais
Update SendCrashActivity.kt
(cherry picked from commit 1567b7cee3cdedd4342da0b4f70d28e83d103585)
> https://code.videolan.org/videolan/vlc-android/commit/a8f2e12abc8b1ac2fc4b93314f28a4e3c887f786
---
vlc-android/src/org/videolan/vlc/gui/SendCrashActivity.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/SendCrashActivity.kt b/vlc-android/src/org/videolan/vlc/gui/SendCrashActivity.kt
index c239b8088..6414e9f35 100644
--- a/vlc-android/src/org/videolan/vlc/gui/SendCrashActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/SendCrashActivity.kt
@@ -159,7 +159,7 @@ class SendCrashActivity : AppCompatActivity(), DebugLogService.Client.Callback {
}
override fun onDestroy() {
- client.release()
+ if (::client.isInitialized) client.release()
super.onDestroy()
}
More information about the Android
mailing list