1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Merge branch '4.0release' into develop

This commit is contained in:
winlin 2021-01-07 17:47:54 +08:00
commit bfa156247c
10 changed files with 80 additions and 48 deletions

View file

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