delete delete routers from memory

This commit is contained in:
orignal 2014-11-21 13:29:19 -05:00
parent 6042aefd17
commit ed3aaefe96
2 changed files with 27 additions and 10 deletions

View file

@ -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;