You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ken'ichi Fukushima (JIRA)" <ji...@apache.org> on 2016/03/24 10:48:25 UTC

[jira] [Created] (CB-10949) [iOS][WKWebView] CDVWKWebViewEngine doesn't unregister itself as a script message handler

Ken'ichi Fukushima created CB-10949:
---------------------------------------

             Summary: [iOS][WKWebView] CDVWKWebViewEngine doesn't unregister itself as a script message handler
                 Key: CB-10949
                 URL: https://issues.apache.org/jira/browse/CB-10949
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin WKWebViewEngine
         Environment: Cordova iOS 4.1.0, cordova-plugin-wkwebview-engine 1.0.2

            Reporter: Ken'ichi Fukushima


CDVWKWebViewEngine adds itself as a script message handler in the initializer but it doesn't remove itself when it is done, possibly causing a memory leak. The right place for the missing code would be -dispose. The class two other pieces of code that does the registration and they should be also taken care of.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org