cleanup tags on stop

This commit is contained in:
orignal 2016-11-28 22:47:37 -05:00
parent 3480824290
commit e726d216bb
3 changed files with 8 additions and 0 deletions

View file

@ -156,6 +156,7 @@ namespace garlic
GarlicDestination (): m_NumTags (32) {}; // 32 tags by default
~GarlicDestination ();
void CleanUp ();
void SetNumTags (int numTags) { m_NumTags = numTags; };
std::shared_ptr<GarlicRoutingSession> GetRoutingSession (std::shared_ptr<const i2p::data::RoutingDestination> destination, bool attachLeaseSet);
void CleanupExpiredTags ();