Browse Source

fixed crash

pull/100/head
orignal 10 years ago
parent
commit
0c3949ef7a
  1. 4
      Tunnel.cpp

4
Tunnel.cpp

@ -408,8 +408,8 @@ namespace tunnel @@ -408,8 +408,8 @@ namespace tunnel
auto pool = (*it)->GetTunnelPool ();
if (pool)
pool->TunnelExpired (tunnel);
delete *it;
it = m_OutboundTunnels.erase (it);
delete tunnel;
}
else
{
@ -449,8 +449,8 @@ namespace tunnel @@ -449,8 +449,8 @@ namespace tunnel
auto pool = tunnel->GetTunnelPool ();
if (pool)
pool->TunnelExpired (tunnel);
delete tunnel;
it = m_InboundTunnels.erase (it);
delete tunnel;
}
else
{

Loading…
Cancel
Save