You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Lee Crossley (JIRA)" <ji...@apache.org> on 2014/10/02 11:26:34 UTC
[jira] [Created] (CB-7693) Auto detaching handlers for commands
Lee Crossley created CB-7693:
--------------------------------
Summary: Auto detaching handlers for commands
Key: CB-7693
URL: https://issues.apache.org/jira/browse/CB-7693
Project: Apache Cordova
Issue Type: Bug
Components: Plugins, WP8
Affects Versions: 3.6.3
Reporter: Lee Crossley
Assignee: Jesse MacFadyen
The `webBrowser_Unloaded` method which detaches event handlers of plugin commands (to prevent memory leak on page navigation) clears ALL plugin callbacks (aka ResultHandlers).
If you have a plugin that performs navigation, the callback is lost, which will result in a "Failed to locate callback for id" error.
I'm unable to see a workaround for this without modifying the BaseCommand or NativeExecution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)