fixed race condition

This commit is contained in:
orignal 2016-01-15 16:23:03 -05:00
parent 02bbb46d2e
commit d9e199092d
2 changed files with 20 additions and 3 deletions

View file

@ -132,6 +132,7 @@ namespace transport
NTCPServer * m_NTCPServer;
SSUServer * m_SSUServer;
mutable std::mutex m_PeersMutex;
std::map<i2p::data::IdentHash, Peer> m_Peers;
DHKeysPairSupplier m_DHKeysPairSupplier;