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

refine the hls dispose, when not cycle always dispose it.

This commit is contained in:
winlin 2015-06-13 17:23:38 +08:00
parent ec90ae2082
commit 17c276113e
2 changed files with 2 additions and 10 deletions

View file

@ -1164,14 +1164,6 @@ void SrsHls::dispose()
on_unpublish();
}
// only dispose hls when positive.
if (_req) {
int hls_dispose = _srs_config->get_hls_dispose(_req->vhost);
if (hls_dispose <= 0) {
return;
}
}
muxer->dispose();
}