fix WebView bug for fireball/issues/6328

This commit is contained in:
knoxHuang
2017-08-29 17:19:28 +08:00
parent 8b7452f41c
commit 4147b27e3b
3 changed files with 10 additions and 1 deletions
@@ -101,6 +101,8 @@ public class Cocos2dxWebViewHelper {
if (webView != null) {
webViews.remove(index);
sLayout.removeView(webView);
webView.destroy();
webView = null;
}
}
});