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:
parent
d71f0db2a5
commit
ab306b70bb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue