|
@@ -139,8 +139,10 @@ class WebViewActivity : BaseViewBindingActivity<WebviewActivityBinding>() {
|
|
|
}
|
|
|
|
|
|
override fun onDestroy() {
|
|
|
- binding.webview?.destroy()
|
|
|
super.onDestroy()
|
|
|
+
|
|
|
+ // Binding sometimes isn't actually instantiated yet somehow
|
|
|
+ binding?.webview?.destroy()
|
|
|
}
|
|
|
|
|
|
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|