mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-23 09:18:13 +00:00
pass sharred_from_this to RequestDestination
This commit is contained in:
1 parent
e485e138c7
commit
22c76b7eb5
1 file changed
+2
-2
@@ -617,7 +617,7 @@ namespace datagram
|
||||
if(!m_RequestingLS)
|
||||
{
|
||||
m_RequestingLS = true;
|
||||
m_LocalDestination->RequestDestination(m_RemoteIdent, std::bind(&DatagramSession::HandleLeaseSetUpdated, this, std::placeholders::_1));
|
||||
m_LocalDestination->RequestDestination(m_RemoteIdent, std::bind(&DatagramSession::HandleLeaseSetUpdated, shared_from_this (), std::placeholders::_1));
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
@@ -764,7 +764,7 @@ namespace datagram
|
||||
if (!m_RequestingLS)
|
||||
{
|
||||
m_RequestingLS = true;
|
||||
m_LocalDestination->RequestDestination(m_RemoteIdent, std::bind(&DatagramSession::HandleLeaseSetUpdated, this, std::placeholders::_1));
|
||||
m_LocalDestination->RequestDestination(m_RemoteIdent, std::bind(&DatagramSession::HandleLeaseSetUpdated, shared_from_this (), std::placeholders::_1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user