mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Micro changes and refines.
This commit is contained in:
parent
378bffa34f
commit
d65c699829
9 changed files with 14 additions and 23 deletions
|
@ -2711,7 +2711,7 @@ void SrsLiveSource::on_consumer_destroy(SrsLiveConsumer* consumer)
|
|||
std::vector<SrsLiveConsumer*>::iterator it;
|
||||
it = std::find(consumers.begin(), consumers.end(), consumer);
|
||||
if (it != consumers.end()) {
|
||||
consumers.erase(it);
|
||||
it = consumers.erase(it);
|
||||
}
|
||||
|
||||
if (consumers.empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue