mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1715755 - Part 3: Don't defer messages if the interrupt stack is empty, r=handyman
Previously this would misbehave as it couldn't get the interrupt stack. Depends on D123149 Differential Revision: https://phabricator.services.mozilla.com/D123150
This commit is contained in:
parent
4cc950d178
commit
28c8f793f9
@ -2110,7 +2110,8 @@ bool MessageChannel::ShouldDeferInterruptMessage(const Message& aMsg,
|
||||
// MessageChannel.h. "Remote" stack depth means our side, and "local" means
|
||||
// the other side.
|
||||
if (aMsg.interrupt_remote_stack_depth_guess() ==
|
||||
RemoteViewOfStackDepth(aStackDepth)) {
|
||||
RemoteViewOfStackDepth(aStackDepth) ||
|
||||
mInterruptStack.empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user