pull/606/head
Jeff Becker 5 years ago
parent 944eaedea6
commit 990acc1ff9
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1300,10 +1300,10 @@ namespace llarp
LogInfo("commit to ", r, " expired");
itr = m_PersistingSessions.erase(itr);
// close all the session because the commit to this router expired
ForEachPeer([&](ILinkSession *s) {
if(s->GetPubKey() == r)
s->Close();
});
// ForEachPeer([&](ILinkSession *s) {
// if(s->GetPubKey() == r)
// s->Close();
// });
}
}
}

Loading…
Cancel
Save