reset from before saving packet

This commit is contained in:
orignal committed 2026-10-27 10:31:04 -04:00
1 parent 67714be7ef
commit bbfd34856f
1 file changed
+2 -1
+2 -1
View File
@@ -405,7 +405,8 @@ namespace stream
void Stream::SavePacket (Packet * packet)
{
if (!m_SavedPackets.insert (packet).second)
packet->from = nullptr;
if (!m_SavedPackets.emplace (packet).second)
m_LocalDestination.DeletePacket (packet);
}