Browse Source

fixed race condition

pull/102/head
orignal 10 years ago
parent
commit
3153cf4df6
  1. 3
      Destination.cpp

3
Destination.cpp

@ -108,7 +108,8 @@ namespace stream @@ -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…
Cancel
Save