Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
6.1.1
-
None
-
None
Description
hello there
1. i upload cordova ios js file to remote severs
2. and from cdviewcontroller load remote page, it include cordova.js
3. and then i found handleBridgeChange has infinite loop:
function handleBridgeChange() { if (execProxy !== cordovaExec()) { var commandString = commandQueue.shift(); while(commandString) { var command = JSON.parse(commandString); var callbackId = command[0]; var service = command[1]; var action = command[2]; var actionArgs = command[3]; var callbacks = cordova.callbacks[callbackId] || {}; execProxy(callbacks.success, callbacks.fail, service, action, actionArgs); commandString = commandQueue.shift(); }; return true; } return false; }
i found execProxy !== cordovaExec all time is true
and execProxy push commandString to commandQueue again
so while infinite loop
Attachments
Issue Links
- duplicates
-
CB-10530 App freezes sometimes directly after starting on iOS
- Closed