Merge pull request #11763 from Dimon4eg/v3

Fix web view leak on iOS
This commit is contained in:
minggo 2015-05-13 17:02:50 +08:00
commit 3d0c7705f7
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ static std::string getFixedBaseUrl(const std::string& baseUrl)
- (void)dealloc {
self.uiWebView.delegate = nil;
[self.uiWebView removeFromSuperview];
self.uiWebView = nil;
self.jsScheme = nil;
[super dealloc];
}