mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
fixed crash
This commit is contained in:
parent
404f21ea76
commit
3ff1158384
@ -66,8 +66,6 @@ namespace client
|
|||||||
if (m_Pool)
|
if (m_Pool)
|
||||||
i2p::tunnel::tunnels.StopTunnelPool (m_Pool);
|
i2p::tunnel::tunnels.StopTunnelPool (m_Pool);
|
||||||
m_IsRunning = false;
|
m_IsRunning = false;
|
||||||
delete m_PublishConfirmationTimer;
|
|
||||||
m_PublishConfirmationTimer = nullptr;
|
|
||||||
if (m_Service)
|
if (m_Service)
|
||||||
m_Service->stop ();
|
m_Service->stop ();
|
||||||
if (m_Thread)
|
if (m_Thread)
|
||||||
@ -76,6 +74,7 @@ namespace client
|
|||||||
delete m_Thread;
|
delete m_Thread;
|
||||||
m_Thread = 0;
|
m_Thread = 0;
|
||||||
}
|
}
|
||||||
|
delete m_PublishConfirmationTimer; m_PublishConfirmationTimer = nullptr;
|
||||||
delete m_Work; m_Work = nullptr;
|
delete m_Work; m_Work = nullptr;
|
||||||
delete m_Service; m_Service = nullptr;
|
delete m_Service; m_Service = nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user