mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
GC: Eliminate unused code. v5.0.84
This commit is contained in:
parent
7d9dc69ae1
commit
ef0aefd546
8 changed files with 20 additions and 43 deletions
|
@ -406,21 +406,21 @@ void SrsResourceManager::dispose(ISrsResource* c)
|
|||
}
|
||||
}
|
||||
|
||||
SrsSweepGc::SrsSweepGc()
|
||||
SrsLazySweepGc::SrsLazySweepGc()
|
||||
{
|
||||
}
|
||||
|
||||
SrsSweepGc::~SrsSweepGc()
|
||||
SrsLazySweepGc::~SrsLazySweepGc()
|
||||
{
|
||||
}
|
||||
|
||||
srs_error_t SrsSweepGc::start()
|
||||
srs_error_t SrsLazySweepGc::start()
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
return err;
|
||||
}
|
||||
|
||||
void SrsSweepGc::remove(SrsLazyObject* c)
|
||||
void SrsLazySweepGc::remove(SrsLazyObject* c)
|
||||
{
|
||||
// TODO: FIXME: MUST lazy sweep.
|
||||
srs_freep(c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue