mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-03-30 23:45:47 +00:00
fixed race condition
This commit is contained in:
@@ -74,6 +74,7 @@ namespace tunnel
|
||||
|
||||
void TransitTunnelGateway::FlushTunnelDataMsgs ()
|
||||
{
|
||||
std::unique_lock<std::mutex> l(m_SendMutex);
|
||||
m_Gateway.SendBuffer ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user