mirror of
https://github.com/nostar/urfd.git
synced 2026-11-08 12:26:46 +00:00
don't close the TCReader in the CCodecStream destructor
This commit is contained in:
1 parent
186f5c21bd
commit
2f71166611
2 files changed
+3
-1
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
@@ -56,6 +56,7 @@ CReflector::~CReflector()
|
||||
}
|
||||
m_RouterFuture.clear();
|
||||
m_Stream.clear();
|
||||
m_TCReader.clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user