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

Merge pull request #282 from tufang14/develop

add client num in statistic with traverse every client for #227
This commit is contained in:
winlin 2015-01-09 09:00:08 +08:00
commit b3225100e7
3 changed files with 14 additions and 13 deletions

View file

@ -200,7 +200,8 @@ int SrsRtmpConn::do_cycle()
ret = service_cycle();
http_hooks_on_close();
SrsStatistic::instance()->on_close(_srs_context->get_id());
SrsStatistic* stat = SrsStatistic::instance();
stat->on_close(_srs_context->get_id());
return ret;
}