Skip to content

Commit

Permalink
[core] Fixed a missing group stats initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Feb 26, 2021
1 parent e90b332 commit 54e435e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srtcore/group.cpp
Expand Up @@ -317,6 +317,8 @@ CUDTGroup::CUDTGroup(SRT_GROUP_TYPE gtype)
m_RcvEID = m_pGlobal->m_EPoll.create(&m_RcvEpolld);
m_SndEID = m_pGlobal->m_EPoll.create(&m_SndEpolld);

m_stats.init();

// Set this data immediately during creation before
// two or more sockets start arguing about it.
m_iLastSchedSeqNo = CUDT::generateISN();
Expand Down

0 comments on commit 54e435e

Please sign in to comment.