Skip to content

Commit

Permalink
proper cleanup of pending tunnels
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Jan 20, 2015
1 parent 42354ee commit 74c89ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tunnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,10 @@ namespace tunnel
delete it.second;
m_TransitTunnels.clear ();

/* for (auto& it : m_PendingTunnels)
ManagePendingTunnels ();
for (auto& it : m_PendingTunnels)
delete it.second;
m_PendingTunnels.clear ();*/
m_PendingTunnels.clear ();

}

Expand Down

0 comments on commit 74c89ce

Please sign in to comment.