mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-09-14 08:51:51 +00:00
fixed warning
This commit is contained in:
parent
714d1cc993
commit
cb6155b946
@ -1285,7 +1285,8 @@ namespace stream
|
|||||||
auto it = m_Streams.find (recvStreamID);
|
auto it = m_Streams.find (recvStreamID);
|
||||||
if (it == m_Streams.end ())
|
if (it == m_Streams.end ())
|
||||||
return false;
|
return false;
|
||||||
m_Owner->GetService ().post ([this, s = it->second]()
|
auto s = it->second;
|
||||||
|
m_Owner->GetService ().post ([this, s] ()
|
||||||
{
|
{
|
||||||
s->Close (); // try to send FIN
|
s->Close (); // try to send FIN
|
||||||
s->Terminate (false);
|
s->Terminate (false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user