Browse Source

stop I2P tunnel upon deletion

pull/916/head
orignal 7 years ago
parent
commit
d11ac64b95
  1. 3
      libi2pd_client/ClientContext.cpp

3
libi2pd_client/ClientContext.cpp

@ -704,7 +704,10 @@ namespace client
for (auto it = c.begin (); it != c.end ();) for (auto it = c.begin (); it != c.end ();)
{ {
if (!v (it->second.get ())) if (!v (it->second.get ()))
{
it->second->Stop ();
it = c.erase (it); it = c.erase (it);
}
else else
it++; it++;
} }

Loading…
Cancel
Save