mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1026041 - make _clearSteppingHooks in ThreadActor check if the frame is live. r=fitzgen
This commit is contained in:
parent
b1fd5a67cb
commit
d87fd67865
@ -1075,10 +1075,12 @@ ThreadActor.prototype = {
|
||||
* The frame we want to clear the stepping hooks from.
|
||||
*/
|
||||
_clearSteppingHooks: function (aFrame) {
|
||||
while (aFrame) {
|
||||
aFrame.onStep = undefined;
|
||||
aFrame.onPop = undefined;
|
||||
aFrame = aFrame.older;
|
||||
if (aFrame && aFrame.live) {
|
||||
while (aFrame) {
|
||||
aFrame.onStep = undefined;
|
||||
aFrame.onPop = undefined;
|
||||
aFrame = aFrame.older;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user