Hello guys,
Im registering a javascript extension like this :
webViewEO.RegisterJSExtensionFunction("actionJSCallibri", new JSExtInvokeHandler(WebView_JSAction));
In the documentation we can read "webView1.RegisterJSExtensionFunction("demoAbout", new JSExtInvokeHandler(WebView_JSDemoAbout))"
But there is no documentation on how to remove this handler, so I tryed the following :
webViewEO.RegisterJSExtensionFunction -= new JSExtInvokeHandler(WebView_JSAction);
But it seems that's not working.
I was profiling my app and saw that after closing the webview :
The handler is still there and my memory profiler app indicate "... have instances that are directly rooted by a delegate. This can indicate that the delegate has not been properly removed."
Is it normal or I do need to perform some action to close this handle ?
Best regards