Browse Source

delete local destination on session close

pull/118/head
orignal 10 years ago
parent
commit
ec8e3574f9
  1. 2
      SAM.cpp

2
SAM.cpp

@ -681,7 +681,7 @@ namespace client @@ -681,7 +681,7 @@ namespace client
for (auto it1: it->second.sockets)
it1->CloseStream ();
it->second.sockets.clear ();
it->second.localDestination->Stop ();
i2p::client::context.DeleteLocalDestination (it->second.localDestination);
m_Sessions.erase (it);
}
}

Loading…
Cancel
Save