Skip to content

Commit

Permalink
Revert "呼び出し元のGameObjectを破棄しても、WebViewが閉じないのを修正"
Browse files Browse the repository at this point in the history
This reverts commit 4608cde.
  • Loading branch information
KojiNakamaru committed Sep 15, 2015
1 parent 23aca7e commit 64698a9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/iOS/WebView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ - (id)initWithGameObjectName:(const char *)gameObjectName_
- (void)dealloc
{
[webView removeFromSuperview];
[webView release];
[super dealloc];
}

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
Expand Down Expand Up @@ -141,7 +139,6 @@ void _WebViewPlugin_SetMargins(
void _WebViewPlugin_Destroy(void *instance)
{
WebViewPlugin *webViewPlugin = (__bridge_transfer WebViewPlugin *)instance;
[webViewPlugin release];
webViewPlugin = nil;
}

Expand Down

0 comments on commit 64698a9

Please sign in to comment.