mirror of
https://github.com/shuto-cn/cordova-plugin-inappbrowser.git
synced 2025-04-29 04:50:10 +08:00
Fix crash on browser window close (https://issues.apache.org/jira/browse/CB-9167)
This commit is contained in:
parent
5c7a9d95a8
commit
2279aee4ff
@ -477,6 +477,11 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent crashes on closing windows
|
||||||
|
-(void)dealloc {
|
||||||
|
self.webView.delegate = nil;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)createViews
|
- (void)createViews
|
||||||
{
|
{
|
||||||
// We create the views in code for primarily for ease of upgrades and not requiring an external .xib to be included
|
// We create the views in code for primarily for ease of upgrades and not requiring an external .xib to be included
|
||||||
|
Loading…
x
Reference in New Issue
Block a user