Missed Done when collecting ice stats (#3040)

Missed Done when error in collecting
This commit is contained in:
cnderrauber
2025-02-24 18:19:59 +08:00
committed by GitHub
parent 9f3df089ac
commit 44062a7a78

View File

@@ -343,6 +343,7 @@ func (g *ICEGatherer) collectStats(collector *statsReportCollector) {
stats, err := toICECandidatePairStats(candidatePairStats)
if err != nil {
g.log.Error(err.Error())
collector.Done()
continue
}