Browse Source

delete local destination on session close

pull/118/head
orignal 10 years ago
parent
commit
84e5f30c70
  1. 4
      SAM.cpp

4
SAM.cpp

@ -30,7 +30,6 @@ namespace client @@ -30,7 +30,6 @@ namespace client
void SAMSocket::CloseStream ()
{
m_SocketType = eSAMSocketTypeTerminated;
if (m_Stream)
{
m_Stream->Close ();
@ -584,7 +583,10 @@ namespace client @@ -584,7 +583,10 @@ namespace client
void SAMSession::CloseStreams ()
{
for (auto it: sockets)
{
it->CloseStream ();
it->SetSocketType (eSAMSocketTypeTerminated);
}
sockets.clear ();
}

Loading…
Cancel
Save