mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
srs reusable thread need join
This commit is contained in:
parent
8155e97b84
commit
233ff11172
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ namespace internal {
|
||||||
// when thread terminated normally, also disposed.
|
// when thread terminated normally, also disposed.
|
||||||
// we must set to disposed before the on_thread_stop, which may free the thread.
|
// we must set to disposed before the on_thread_stop, which may free the thread.
|
||||||
// @see https://github.com/ossrs/srs/issues/546
|
// @see https://github.com/ossrs/srs/issues/546
|
||||||
disposed = true;
|
// disposed = true;
|
||||||
|
|
||||||
handler->on_thread_stop();
|
handler->on_thread_stop();
|
||||||
srs_info("thread %s cycle finished", _name);
|
srs_info("thread %s cycle finished", _name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue