forked from github/cordova-android
Don't call loadUrlIntoView on the actvity
This commit is contained in:
parent
a70c8536f9
commit
e2a090bbba
@ -97,7 +97,6 @@ public class CordovaWebViewTestActivity extends Activity implements CordovaInter
|
||||
super.onDestroy();
|
||||
if (cordovaWebView != null) {
|
||||
// Send destroy event to JavaScript
|
||||
cordovaWebView.loadUrl("javascript:try{cordova.require('cordova/channel').onDestroy.fire();}catch(e){console.log('exception firing destroy event from native');};");
|
||||
cordovaWebView.handleDestroy();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user