mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fix sam crash on exit and datagram crash with no outbound tunnel
This commit is contained in:
parent
042adb5e34
commit
965896b932
3 changed files with 13 additions and 18 deletions
|
@ -310,7 +310,7 @@ namespace datagram
|
|||
std::vector<i2p::tunnel::TunnelMessageBlock> send;
|
||||
auto routingPath = GetSharedRoutingPath();
|
||||
// if we don't have a routing path we will drop all queued messages
|
||||
if(routingPath)
|
||||
if(routingPath && routingPath->outboundTunnel && routingPath->remoteLease)
|
||||
{
|
||||
for (const auto & msg : m_SendQueue)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue