[
https://issues.apache.org/jira/browse/CB-11838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987510#comment-15987510
]
ASF subversion and git services commented on CB-11838:
------------------------------------------------------
Commit f4f1abec3a0f5e5efd1ec8bc8312c97ad92deefa in
cordova-plugin-network-information's branch refs/heads/1.3.x from
[~kenichifukushima]
[
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-network-information.git;h=f4f1abe
]
CB-11838 ios: Unregister callback function at the right timing.
We at LINE observed about 40K crashes a day that were suspected to be
caused by the reacahability callback function invoked on an
already-deallocated object. We couldn't reproduced the crash locally
but this patch did reduce the number of crash reports to zero.
This closes #49
> iOS network information plugin doesn't clean up itself correctly
> ----------------------------------------------------------------
>
> Key: CB-11838
> URL: https://issues.apache.org/jira/browse/CB-11838
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Network Information
> Environment: Cordova version: 4.1.0
> plugin version: 1.2.0
> iOS version: all
> iPhone/iPad version: all
> Reporter: Ken'ichi Fukushima
> Priority: Minor
>
> The CDVReachability class doesn't unregister a callback function that is
> registered in -startNotifier. We at LINE observe about 40K crash reports a
> day that are suspected to be caused by this. Our hypothesis is the callback
> function is called on an already deallocated object.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]