1
0
Fork 0
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:
winlin 2021-01-07 17:04:11 +08:00
commit 1c41f5d796
12 changed files with 75 additions and 46 deletions

View file

@ -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);
}