mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-15 03:41:48 +02:00
delete delete routers from memory
This commit is contained in:
parent
6042aefd17
commit
ed3aaefe96
2 changed files with 27 additions and 10 deletions
1
NetDb.h
1
NetDb.h
|
@ -109,6 +109,7 @@ namespace data
|
|||
private:
|
||||
|
||||
std::map<IdentHash, LeaseSet *> m_LeaseSets;
|
||||
mutable std::mutex m_RouterInfosMutex;
|
||||
std::map<IdentHash, std::shared_ptr<RouterInfo> > m_RouterInfos;
|
||||
mutable std::mutex m_FloodfillsMutex;
|
||||
std::list<std::shared_ptr<RouterInfo> > m_Floodfills;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue