Skip to content

Commit

Permalink
Didn't notice before that a similar thing would happen in a holding
Browse files Browse the repository at this point in the history
bridge if channels in the bridge dropped from 3 to 2.
  • Loading branch information
discardedwutu committed May 11, 2020
1 parent e27e881 commit 3fc842e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ ManagerEvent removeMember(BridgeLeaveEvent event)
{
List<BridgeEnterEvent> remaining = new LinkedList<>();

if (event.getBridgeTechnology().equals("holding_bridge")) {
/* channels in a holding bridge aren't bridged to one another */
return null;
}

synchronized (members)
{
remaining.addAll(members.values());
Expand Down

0 comments on commit 3fc842e

Please sign in to comment.