cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfred Olsson (JIRA)" <>
Subject [jira] [Created] (CB-9167) Crash when closing InAppBrowser on iOS
Date Fri, 12 Jun 2015 14:17:02 GMT
Alfred Olsson created CB-9167:

             Summary: Crash when closing InAppBrowser on iOS
                 Key: CB-9167
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin InAppBrowser
            Reporter: Alfred Olsson

Closing the InAppBrowsers sometimes causes a crash on iOS.

I think the problem is with the UIWebView delegate.

Apple documentation states that the delegate should be set to nil before release but it is
not done.


The following code in CDVInAppBrowserViewController seems to solve the problem:

    self.webView.delegate = nil;

The crashes are seen in an App that closes the IAB at 'loadstart'.
I think this is required to get the crashes that occur around 1/10 times.

The following error is seen at crashes when Zombie Objects are enabled:

*** -[CDVWebViewDelegate respondsToSelector:]: message sent to deallocated instance 0x171846e70

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message