Merge pull request #619 from michael-loki/threadsfety_service

Fix thread safety issue in service::Endpoint::ProcessDataMessage
This commit is contained in:
Jeff 2019-05-22 17:00:05 -04:00 committed by GitHub
commit 97b18e108b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -854,6 +854,7 @@ namespace llarp
{
if(msg->proto == eProtocolTraffic)
{
util::Lock l(&m_InboundTrafficQueueMutex);
m_InboundTrafficQueue.emplace(msg);
return true;
}