mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-27 00:44:20 +00:00
remove stream on close
This commit is contained in:
parent
b269bda52b
commit
3ed1fee7ce
@ -417,9 +417,9 @@ namespace stream
|
||||
p->len = size;
|
||||
m_Service.post (std::bind (&Stream::SendPacket, shared_from_this (), p));
|
||||
LogPrint ("FIN sent");
|
||||
m_ReceiveTimer.cancel ();
|
||||
m_LocalDestination.DeleteStream (shared_from_this ());
|
||||
}
|
||||
m_ReceiveTimer.cancel ();
|
||||
m_LocalDestination.DeleteStream (shared_from_this ());
|
||||
}
|
||||
|
||||
size_t Stream::ConcatenatePackets (uint8_t * buf, size_t len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user