Skip to content

Commit 44062a7

Browse files
authored
Missed Done when collecting ice stats (#3040)
Missed Done when error in collecting
1 parent 9f3df08 commit 44062a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

icegatherer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ func (g *ICEGatherer) collectStats(collector *statsReportCollector) {
343343
stats, err := toICECandidatePairStats(candidatePairStats)
344344
if err != nil {
345345
g.log.Error(err.Error())
346+
collector.Done()
346347

347348
continue
348349
}

0 commit comments

Comments
 (0)