mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[idd] scheduler: avoid secondary subscription replays
This commit is contained in:
@@ -842,7 +842,9 @@ void CFrameScheduler::RequestRepublish()
|
|||||||
{
|
{
|
||||||
bool wake = false;
|
bool wake = false;
|
||||||
AcquireSRWLockExclusive(&m_lock);
|
AcquireSRWLockExclusive(&m_lock);
|
||||||
if (m_scheduling)
|
Client * client = FindClient(m_schedule.clientID);
|
||||||
|
if (m_scheduling && client && !client->deliveredFrameValid &&
|
||||||
|
m_republishRequestTicket == m_republishAckTicket)
|
||||||
{
|
{
|
||||||
++m_republishRequestTicket;
|
++m_republishRequestTicket;
|
||||||
wake = true;
|
wake = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user