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:
parent
55bdc354f5
commit
079c54bbe7
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue