mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
detach tunnles from poll
This commit is contained in:
parent
f34680134a
commit
2ab597be20
3 changed files with 14 additions and 4 deletions
|
@ -297,7 +297,11 @@ namespace tunnel
|
|||
|
||||
void Tunnels::DeleteTunnelPool (TunnelPool * pool)
|
||||
{
|
||||
if (pool) pool->SetDeleted ();
|
||||
if (pool)
|
||||
{
|
||||
pool->DetachTunnels ();
|
||||
pool->SetDeleted ();
|
||||
}
|
||||
}
|
||||
|
||||
void Tunnels::AddTransitTunnel (TransitTunnel * tunnel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue