mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fxied crash at startup
This commit is contained in:
@@ -478,8 +478,8 @@ namespace data
|
|||||||
if (num > 0)
|
if (num > 0)
|
||||||
{
|
{
|
||||||
auto pool = i2p::tunnel::tunnels.GetExploratoryPool ();
|
auto pool = i2p::tunnel::tunnels.GetExploratoryPool ();
|
||||||
auto outbound = pool->GetNextOutboundTunnel ();
|
auto outbound = pool ? pool->GetNextOutboundTunnel () : nullptr;
|
||||||
auto inbound = pool->GetNextInboundTunnel ();
|
auto inbound = pool ? pool->GetNextInboundTunnel () : nullptr;
|
||||||
std::vector<i2p::tunnel::TunnelMessageBlock> msgs;
|
std::vector<i2p::tunnel::TunnelMessageBlock> msgs;
|
||||||
if (!dest->IsExploratory ())
|
if (!dest->IsExploratory ())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user