mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1554244 - Tolerate multiple calls to MessageChannel::Close. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34804 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
dec16f16c7
commit
ded11c124c
@ -2696,9 +2696,8 @@ void MessageChannel::Close() {
|
||||
}
|
||||
|
||||
if (ChannelClosed == mChannelState) {
|
||||
// XXX be strict about this until there's a compelling reason
|
||||
// to relax
|
||||
MOZ_CRASH("Close() called on closed channel!");
|
||||
// Slightly unexpected but harmless; ignore. See bug 1554244.
|
||||
return;
|
||||
}
|
||||
|
||||
// Notify the other side that we're about to close our socket. If we've
|
||||
|
Loading…
Reference in New Issue
Block a user