mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1141418 - Fix index after calling splice while iterating remoteFrames array. r=jgriffin
This commit is contained in:
parent
4a4b0bbb98
commit
c644d94180
@ -134,7 +134,7 @@ FrameManager.prototype = {
|
||||
frameMessageManager.sendAsyncMessage("aliveCheck", {});
|
||||
} catch (e) {
|
||||
if (e.result == Components.results.NS_ERROR_NOT_INITIALIZED) {
|
||||
remoteFrames.splice(i, 1);
|
||||
remoteFrames.splice(i--, 1);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user