Skip to content

Commit

Permalink
delete local destination on session close
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Dec 17, 2014
1 parent 7da6948 commit ec8e357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SAM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit ec8e357

Please sign in to comment.