Ignore all throwable from WebView (#1275)

This commit is contained in:
Rafał Borcz 2021-04-08 10:41:49 +02:00 committed by GitHub
parent f131edf857
commit 95ffb0a687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ class WulkanowyApp : Application(), Configuration.Provider {
//https://stackoverflow.com/questions/40398528/android-webview-language-changes-abruptly-on-android-7-0-and-above
try {
WebView(this).destroy()
} catch (e: Exception) {
} catch (e: Throwable) {
//Ignore exceptions
}
}