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

Loading…
Cancel
Save