fixed possible crash at shutdown

This commit is contained in:
orignal
2024-12-19 14:24:26 -05:00
parent 7497741846
commit 3995448014
2 changed files with 8 additions and 1 deletions

View File

@@ -54,8 +54,8 @@ namespace transport
private:
const int m_QueueSize;
std::queue<std::shared_ptr<Keys> > m_Queue;
i2p::util::MemoryPoolMt<Keys> m_KeysPool;
std::queue<std::shared_ptr<Keys> > m_Queue;
bool m_IsRunning;
std::unique_ptr<std::thread> m_Thread;