提交 46e46d1b authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Improve comment

上级 a2db3e6b
...@@ -57,10 +57,9 @@ namespace RTC ...@@ -57,10 +57,9 @@ namespace RTC
consumer->Destroy(); consumer->Destroy();
} }
// TODO: Is this warning still true?
// Close all the Transports. // Close all the Transports.
// NOTE: It is critical to close Transports after Producers/Consumers // NOTE: It is critical to close Transports after Producers/Consumers
// because Producer.Destroy() fires an event in the Transport. // because their Destroy() method fires an event in the Transport.
for (auto it = this->transports.begin(); it != this->transports.end();) for (auto it = this->transports.begin(); it != this->transports.end();)
{ {
auto* transport = it->second; auto* transport = it->second;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论