forked from github/wulkanowy-mirror
Ignore all throwable from WebView (#1275)
This commit is contained in:
parent
f131edf857
commit
95ffb0a687
@ -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
|
//https://stackoverflow.com/questions/40398528/android-webview-language-changes-abruptly-on-android-7-0-and-above
|
||||||
try {
|
try {
|
||||||
WebView(this).destroy()
|
WebView(this).destroy()
|
||||||
} catch (e: Exception) {
|
} catch (e: Throwable) {
|
||||||
//Ignore exceptions
|
//Ignore exceptions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user