mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed race condition
This commit is contained in:
parent
9e759a59a9
commit
5abd4021c4
2 changed files with 4 additions and 0 deletions
1
Garlic.h
1
Garlic.h
|
@ -129,6 +129,7 @@ namespace garlic
|
|||
std::map<uint32_t, GarlicRoutingSession *> m_CreatedSessions; // msgID -> session
|
||||
// incoming session
|
||||
// multiple tags refer to one decyption
|
||||
std::mutex m_SessionsTagsMutex;
|
||||
std::map<SessionTag, SessionDecryption *> m_SessionTags; // tag -> decryption
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue