resuse instance of local destination upon restart

This commit is contained in:
orignal 2014-10-13 11:21:57 -04:00
parent eff0e13f31
commit a0f43d9772
7 changed files with 50 additions and 29 deletions

View file

@ -599,7 +599,7 @@ namespace stream
for (auto it1 : it->second.sockets)
delete it1;
it->second.sockets.clear ();
DeleteLocalDestination (it->second.localDestination);
it->second.localDestination->Stop ();
m_Sessions.erase (it);
}
}