[ 
https://issues.apache.org/jira/browse/CB-10948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214003#comment-15214003
 ] 

Ken'ichi Fukushima commented on CB-10948:
-----------------------------------------

CDVPlugin declares -dispose and CDVViewController calls it in its -dealloc. 
Note that dealloc is not when there is a retain cycle that can cause a real 
problem as I reported in CB-10949.

> [iOS][Network Information] CDVConnection doesn't unregister from the 
> notification center
> ----------------------------------------------------------------------------------------
>
>                 Key: CB-10948
>                 URL: https://issues.apache.org/jira/browse/CB-10948
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Network Information
>         Environment: Cordova iOS 4.1.0, cordova-plugin-network-information 
> 1.2.0
>            Reporter: Ken'ichi Fukushima
>
> CDVConnection registers itself as a notification observer in pluginInitialize 
> but it doesn't unregister when it is done. The right place for the missing 
> code would be -dispose.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to