mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-21 16:49:10 +01:00
rollback
This commit is contained in:
parent
c45f72a63e
commit
cfde1f8c27
1 changed files with 2 additions and 8 deletions
|
@ -92,15 +92,9 @@ namespace client
|
||||||
m_Stream->Close ();
|
m_Stream->Close ();
|
||||||
m_Stream.reset ();
|
m_Stream.reset ();
|
||||||
}
|
}
|
||||||
auto s = shared_from_this ();
|
m_Socket->close ();
|
||||||
// make sure all outstading jobs finished before close
|
|
||||||
m_Socket->get_io_service ().post(
|
|
||||||
[s]()
|
|
||||||
{
|
|
||||||
s->m_Socket->close ();
|
|
||||||
});
|
|
||||||
|
|
||||||
Done(s);
|
Done(shared_from_this ());
|
||||||
}
|
}
|
||||||
|
|
||||||
void I2PTunnelConnection::Receive ()
|
void I2PTunnelConnection::Receive ()
|
||||||
|
|
Loading…
Add table
Reference in a new issue