Skip to content

Commit

Permalink
Fix rebase conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kghost committed Jun 17, 2022
1 parent 4355c03 commit 35a3ca9
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/transport/SessionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,21 +392,7 @@ void SessionManager::ReleaseSessionsForFabricExceptOne(FabricIndex fabricIndex,
mSecureSessions.ForEachSession([&](auto session) {
if (session->GetPeer().GetFabricIndex() == fabricIndex)
{
if (session == exception->AsSecureSession())
session->MarkForInactive();
else
session->MarkForRemoval();
}
return Loop::Continue;
});
}

void SessionManager::ReleaseSessionForNodeExceptOne(const ScopedNodeId & node, const SessionHandle & exception)
{
mSecureSessions.ForEachSession([&](auto session) {
if (session->GetPeer() == node)
{
if (session == exception->AsSecureSession())
if (session == deferred->AsSecureSession())
session->MarkForInactive();
else
session->MarkForRemoval();
Expand Down

0 comments on commit 35a3ca9

Please sign in to comment.