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)

Reply via email to