mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
schedule routing session cleanup
This commit is contained in:
parent
a25646a129
commit
24c00b0985
3 changed files with 23 additions and 2 deletions
|
@ -538,7 +538,10 @@ namespace garlic
|
|||
for (auto it = m_Sessions.begin (); it != m_Sessions.end ();)
|
||||
{
|
||||
if (!it->second->CleanupExpiredTags ())
|
||||
{
|
||||
LogPrint (eLogInfo, "Routing session to ", it->first.ToBase32 (), " deleted");
|
||||
it = m_Sessions.erase (it);
|
||||
}
|
||||
else
|
||||
it++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue