mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
manage tunnel pools
This commit is contained in:
@@ -15,7 +15,7 @@ namespace tunnel
|
||||
TunnelPool::~TunnelPool ()
|
||||
{
|
||||
for (auto it: m_InboundTunnels)
|
||||
delete it;
|
||||
it->SetTunnelPool (nullptr);
|
||||
}
|
||||
|
||||
void TunnelPool::TunnelCreated (InboundTunnel * createdTunnel)
|
||||
@@ -55,7 +55,7 @@ namespace tunnel
|
||||
i2p::data::netdb.GetRandomRouter (firstHop)
|
||||
}),
|
||||
outboundTunnel);
|
||||
tunnel->SetTunnelPool (this);
|
||||
tunnel->SetTunnelPool (this);
|
||||
}
|
||||
|
||||
void TunnelPool::ManageTunnels ()
|
||||
|
||||
Reference in New Issue
Block a user