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:
parent
941a9aaf7a
commit
5b8eea8cc5
2 changed files with 12 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue