mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge SRS3, change id of stat to string
This commit is contained in:
commit
1c41f5d796
12 changed files with 75 additions and 46 deletions
|
@ -1638,7 +1638,7 @@ void SrsServer::remove(ISrsResource* c)
|
|||
SrsStatistic* stat = SrsStatistic::instance();
|
||||
stat->kbps_add_delta(c->get_id(), conn);
|
||||
stat->on_disconnect(c->get_id());
|
||||
|
||||
|
||||
// use manager to free it async.
|
||||
conn_manager->remove(c);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue