cleanup leaseset requests on stop

This commit is contained in:
orignal 2016-11-27 10:14:54 -05:00
parent 0e14b54b6d
commit 5e5aefa290
2 changed files with 12 additions and 3 deletions

View file

@ -392,6 +392,10 @@ namespace garlic
GarlicDestination::~GarlicDestination ()
{
m_Sessions.clear ();
m_DeliveryStatusSessions.clear ();
m_Tags.clear ();
LogPrint (eLogInfo, "Garlic: destination destoryed");
}
void GarlicDestination::AddSessionKey (const uint8_t * key, const uint8_t * tag)