mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-08 22:57:52 +00:00
fixed race condition
This commit is contained in:
parent
b74f3a1ee1
commit
3153cf4df6
@ -108,6 +108,7 @@ namespace stream
|
|||||||
if (m_Pool)
|
if (m_Pool)
|
||||||
i2p::tunnel::tunnels.StopTunnelPool (m_Pool);
|
i2p::tunnel::tunnels.StopTunnelPool (m_Pool);
|
||||||
m_IsRunning = false;
|
m_IsRunning = false;
|
||||||
|
if (m_Service)
|
||||||
m_Service->stop ();
|
m_Service->stop ();
|
||||||
if (m_Thread)
|
if (m_Thread)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user