fix wv destruction
parent
23c784f2cd
commit
7bc13f924f
|
@ -70,6 +70,7 @@ import gallery.memories.databinding.ActivityMainBinding
|
|||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
binding.webview.removeAllViews();
|
||||
binding.coordinator.removeAllViews()
|
||||
binding.webview.destroy();
|
||||
nativex.destroy()
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/coordinator"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Reference in New Issue