mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
fxied crash at startup
This commit is contained in:
parent
d8942a3359
commit
e3e0702813
|
@ -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 ())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue