mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
fixed crash
This commit is contained in:
parent
86a7f96a46
commit
7847982a57
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ namespace client
|
||||||
auto it1 = m_LeaseSetRequests.find (msg->key);
|
auto it1 = m_LeaseSetRequests.find (msg->key);
|
||||||
if (it1 != m_LeaseSetRequests.end ())
|
if (it1 != m_LeaseSetRequests.end ())
|
||||||
{
|
{
|
||||||
|
it1->second->requestTimeoutTimer.cancel ();
|
||||||
if (it1->second->requestComplete) it1->second->requestComplete (true);
|
if (it1->second->requestComplete) it1->second->requestComplete (true);
|
||||||
delete it1->second;
|
delete it1->second;
|
||||||
m_LeaseSetRequests.erase (it1);
|
m_LeaseSetRequests.erase (it1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue