1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-14 20:31:56 +00:00

merge srs2.

This commit is contained in:
winlin 2016-12-13 18:43:22 +08:00
commit 8935fe8897

View file

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