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

fix #713, disable the source cleanup. 2.0.223

This commit is contained in:
winlin 2016-12-13 18:41:45 +08:00
parent cb1d47bfef
commit aca8a79d95
3 changed files with 11 additions and 2 deletions

View file

@ -792,9 +792,17 @@ void SrsSource::dispose_all()
int SrsSource::cycle_all()
{
int ret = ERROR_SUCCESS;
// TODO: FIXME: support source cleanup.
// @see https://github.com/ossrs/srs/issues/713
// @see https://github.com/ossrs/srs/issues/714
#if 0
int cid = _srs_context->get_id();
int ret = do_cycle_all();
ret = do_cycle_all();
_srs_context->set_id(cid);
#endif
return ret;
}