Try to avoid some Webview-related crashes

Related to #5218
This commit is contained in:
arkon
2021-05-28 22:34:26 -04:00
parent 9de07c11a6
commit 3d9383ce67
2 changed files with 8 additions and 0 deletions
@@ -153,6 +153,7 @@ class CloudflareInterceptor(private val context: Context) : Interceptor {
webView?.stopLoading()
webView?.destroy()
webView = null
}
// Throw exception if we failed to bypass Cloudflare