manage tunnel pools

This commit is contained in:
orignal committed 2014-03-14 20:51:51 -04:00
1 parent ab23327da6
commit b47d7aceaa
5 files changed
+19 -23

No files matched your search

+2 -2
View File
@@ -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 ()