Bug 1892799 - Remove incorrect assertion, r=ipc-reviewers,mccr8

In the changes from bug 1879375, the conditions for entries to be added
to mPendingMessages was changed, such that it is now possible for the
broker to temporarily have empty entries in this table. This means the
assertion is no longer correct and should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D209861
This commit is contained in:
Nika Layzell 2024-05-08 20:31:47 +00:00
parent ffb60a6e9f
commit 640fc273cd

View File

@ -738,8 +738,6 @@ void NodeController::OnAcceptInvite(const NodeName& aFromNode,
Invite invite;
{
auto state = mState.Lock();
MOZ_ASSERT(state->mPendingMessages.IsEmpty(),
"Shouldn't have pending messages in broker");
// Try to remove the source node from our invites list and insert it into
// our peers map under the new name.