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

@ -394,6 +394,12 @@ namespace garlic
{
}
void GarlicDestination::CleanUp ()
{
m_Sessions.clear ();
m_DeliveryStatusSessions.clear ();
m_Tags.clear ();
}
void GarlicDestination::AddSessionKey (const uint8_t * key, const uint8_t * tag)
{
if (key)