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

Stat: Fix build fail for stat of timer and dispose

This commit is contained in:
winlin 2021-02-19 19:08:16 +08:00
parent 941a9aaf7a
commit 5b8eea8cc5
2 changed files with 12 additions and 0 deletions

View file

@ -41,6 +41,7 @@ using namespace std;
SrsPps* _srs_pps_ids = new SrsPps(_srs_clock);
SrsPps* _srs_pps_fids = new SrsPps(_srs_clock);
SrsPps* _srs_pps_fids_level0 = new SrsPps(_srs_clock);
SrsPps* _srs_pps_dispose = new SrsPps(_srs_clock);
ISrsDisposingHandler::ISrsDisposingHandler()
{
@ -343,6 +344,8 @@ void SrsResourceManager::do_clear()
i, conn->desc().c_str(), conn, (int)conns_.size(), (int)copy.size(), (int)zombies_.size());
}
++_srs_pps_dispose->sugar;
dispose(conn);
}