Browse Source

don't check session for single tag

pull/2036/head
orignal 4 months ago
parent
commit
bb702700f7
  1. 3
      libi2pd/Garlic.cpp

3
libi2pd/Garlic.cpp

@ -887,8 +887,7 @@ namespace garlic
} }
else else
{ {
auto session = it->second.tagset->GetSession (); if (it->second.tagset->IsSessionTerminated ())
if (!session || session->IsTerminated())
{ {
it = m_ECIESx25519Tags.erase (it); it = m_ECIESx25519Tags.erase (it);
numExpiredTags++; numExpiredTags++;

Loading…
Cancel
Save