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

Shazron Abdullah commented on CB-10949:
---------------------------------------

Depends on CB-11074 being resolved first.

Also see 
http://stackoverflow.com/questions/31094110/memory-leak-when-using-wkscriptmessagehandler

> [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
>            Assignee: Shazron Abdullah
>              Labels: triaged
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to