mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
fixed race condition
This commit is contained in:
parent
b74f3a1ee1
commit
3153cf4df6
@ -108,7 +108,8 @@ namespace stream
|
||||
if (m_Pool)
|
||||
i2p::tunnel::tunnels.StopTunnelPool (m_Pool);
|
||||
m_IsRunning = false;
|
||||
m_Service->stop ();
|
||||
if (m_Service)
|
||||
m_Service->stop ();
|
||||
if (m_Thread)
|
||||
{
|
||||
m_Thread->join ();
|
||||
|
Loading…
Reference in New Issue
Block a user