proper cleanup of pending tunnels

This commit is contained in:
orignal 2015-01-20 18:06:42 -05:00
parent 42354ee5d5
commit 74c89ce06e

View File

@ -209,9 +209,10 @@ namespace tunnel
delete it.second; delete it.second;
m_TransitTunnels.clear (); m_TransitTunnels.clear ();
/* for (auto& it : m_PendingTunnels) ManagePendingTunnels ();
for (auto& it : m_PendingTunnels)
delete it.second; delete it.second;
m_PendingTunnels.clear ();*/ m_PendingTunnels.clear ();
} }