webView未加载完,退出方法

经验证此方法比较保险

@Override
protected void onDestroy() {
// TODO Auto-generated method stub
if(webView!=null){
webView.destroy();
              webView=null;//释放资源
}
super.onDestroy();
}
原文地址:https://www.cnblogs.com/earl-yongchang/p/4929451.html