fixed race condition

This commit is contained in:
orignal 2015-07-01 17:20:41 -04:00
parent 83e76c6b53
commit fbebdd3055

View File

@ -22,7 +22,7 @@ namespace stream
{
m_RecvStreamID = i2p::context.GetRandomNumberGenerator ().GenerateWord32 ();
m_RemoteIdentity = remote->GetIdentity ();
UpdateCurrentRemoteLease ();
m_CurrentRemoteLease.endDate = 0;
}
Stream::Stream (boost::asio::io_service& service, StreamingDestination& local):