put Orphaned frame msg under DEBUG

This commit is contained in:
Tom Early committed 2022-01-25 17:28:41 -07:00
1 parent 77cf87cc54
commit 721579fef4
1 file changed
+2
+2
View File
@@ -140,11 +140,13 @@ void CProtocol::OnDvFramePacketIn(std::unique_ptr<CDvFramePacket> &Frame, const
stream->Push(std::move(Frame));
stream->Unlock();
}
#ifdef DEBUG
else
{
std::cout << "Orphaned Frame with ID " << Frame->GetStreamId() << " on " << *Ip << std::endl;
Frame.reset();
}
#endif
}
////////////////////////////////////////////////////////////////////////////////////////