Browse Source

fixed race condition

pull/158/head
orignal 10 years ago
parent
commit
816e4d533d
  1. 1
      TransitTunnel.cpp

1
TransitTunnel.cpp

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

Loading…
Cancel
Save