1
0
Fork 0
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:
tufang14 2016-01-09 14:58:40 +08:00
parent 8155e97b84
commit 233ff11172

View file

@ -235,7 +235,7 @@ namespace internal {
// when thread terminated normally, also disposed.
// we must set to disposed before the on_thread_stop, which may free the thread.
// @see https://github.com/ossrs/srs/issues/546
disposed = true;
// disposed = true;
handler->on_thread_stop();
srs_info("thread %s cycle finished", _name);