don't close the TCReader in the CCodecStream destructor

This commit is contained in:
Tom Early committed 2021-12-09 15:14:17 -07:00
1 parent 186f5c21bd
commit 2f71166611
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -48,7 +48,7 @@ CCodecStream::CCodecStream(CPacketStream *PacketStream, uint16_t streamid, ECode
CCodecStream::~CCodecStream()
{
// close socket
m_TCReader->Close();
//m_TCReader->Close();
// kill threads
keep_running = false;
@@ -185,5 +185,6 @@ void CCodecStream::Task(void)
{
//std::cout << "transcoder packet timeout" << std::endl;
m_uiTimeoutPackets++;
m_TimeoutTimer.start();
}
}
+1
View File
@@ -56,6 +56,7 @@ CReflector::~CReflector()
}
m_RouterFuture.clear();
m_Stream.clear();
m_TCReader.clear();
}