1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

Add important comment for ST

This commit is contained in:
winlin 2021-03-09 07:21:07 +08:00
parent 55bdc354f5
commit 079c54bbe7

View file

@ -164,6 +164,8 @@ SrsFastCoroutine::~SrsFastCoroutine()
{
stop();
// TODO: FIXME: We must assert the cycle is done.
srs_freep(trd_err);
}
@ -207,7 +209,6 @@ srs_error_t SrsFastCoroutine::start()
void SrsFastCoroutine::stop()
{
if (disposed) {
// TODO: FIXME: If previous stop is wait on st_thread_join, this call should assert fail.
return;
}
disposed = true;