|
|
@ -85,9 +85,6 @@ namespace client |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (m_IsRunning) |
|
|
|
if (m_IsRunning) |
|
|
|
Stop (); |
|
|
|
Stop (); |
|
|
|
for (auto& it: m_LeaseSetRequests) |
|
|
|
|
|
|
|
it.second->Complete (nullptr); |
|
|
|
|
|
|
|
m_LeaseSetRequests.clear (); |
|
|
|
|
|
|
|
if (m_Pool) |
|
|
|
if (m_Pool) |
|
|
|
i2p::tunnel::tunnels.DeleteTunnelPool (m_Pool); |
|
|
|
i2p::tunnel::tunnels.DeleteTunnelPool (m_Pool); |
|
|
|
} |
|
|
|
} |
|
|
@ -132,6 +129,14 @@ namespace client |
|
|
|
m_CleanupTimer.cancel (); |
|
|
|
m_CleanupTimer.cancel (); |
|
|
|
m_PublishConfirmationTimer.cancel (); |
|
|
|
m_PublishConfirmationTimer.cancel (); |
|
|
|
m_PublishVerificationTimer.cancel (); |
|
|
|
m_PublishVerificationTimer.cancel (); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (auto& it: m_LeaseSetRequests) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
it.second->Complete (nullptr); |
|
|
|
|
|
|
|
it.second->requestTimeoutTimer.cancel (); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
m_LeaseSetRequests.clear (); |
|
|
|
|
|
|
|
|
|
|
|
m_IsRunning = false; |
|
|
|
m_IsRunning = false; |
|
|
|
if (m_Pool) |
|
|
|
if (m_Pool) |
|
|
|
{ |
|
|
|
{ |
|
|
|