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
86a7f96a46
commit
7847982a57
@ -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…
x
Reference in New Issue
Block a user