Skip to content

Commit

Permalink
[core] Fixed srctime from closing socket was mistakenly cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
gou4shi1 authored and maxsharabayko committed Jul 25, 2023
1 parent 1737e96 commit 9f4e9b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6848,7 +6848,6 @@ int srt::CUDT::receiveMessage(char* data, int len, SRT_MSGCTRL& w_mctrl, int by_
? m_pRcvBuffer->readMessage(data, len, &w_mctrl)
: 0;
leaveCS(m_RcvBufferLock);
w_mctrl.srctime = 0;

// Kick TsbPd thread to schedule next wakeup (if running)
if (m_bTsbPd)
Expand Down

0 comments on commit 9f4e9b6

Please sign in to comment.