fixed race condition

This commit is contained in:
orignal 2015-02-11 18:47:20 -05:00
parent 53adf7a793
commit 816e4d533d

View File

@ -74,6 +74,7 @@ namespace tunnel
void TransitTunnelGateway::FlushTunnelDataMsgs ()
{
std::unique_lock<std::mutex> l(m_SendMutex);
m_Gateway.SendBuffer ();
}