diff --git a/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java b/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java index aa36972898..de38e9063a 100644 --- a/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java +++ b/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java @@ -81,9 +81,9 @@ private MyJavaScriptInterface(WebView webView) { @JavascriptInterface @SuppressWarnings("unused") public void processHTML(String html) { - webView.destroy(); e.onNext(html); e.onComplete(); + webView.destroy(); } } WebView webView = new WebView(context);