1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

try closing session correctly

This commit is contained in:
Jeff Becker 2018-10-04 13:41:23 -04:00
parent d71f0db2a5
commit ab306b70bb
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -518,7 +518,7 @@ namespace llarp
Lock l(m_AuthedLinksMutex);
for(const auto& pk : sessions)
{
if(m_AuthedLinks.find(pk) == m_AuthedLinks.end())
if(m_AuthedLinks.count(pk) == 0)
{
// all sessions were removed
router->SessionClosed(pk);