mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 03:25:58 +08:00
Missed Done when collecting ice stats (#3040)
Missed Done when error in collecting
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user