mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-02 03:40:12 +00:00
Merge pull request #619 from michael-loki/threadsfety_service
Fix thread safety issue in service::Endpoint::ProcessDataMessage
This commit is contained in:
commit
97b18e108b
@ -854,6 +854,7 @@ namespace llarp
|
||||
{
|
||||
if(msg->proto == eProtocolTraffic)
|
||||
{
|
||||
util::Lock l(&m_InboundTrafficQueueMutex);
|
||||
m_InboundTrafficQueue.emplace(msg);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user