Skip to content

Commit

Permalink
Merge pull request #559 from tufang14/2.0release
Browse files Browse the repository at this point in the history
srs reusable thread need join
  • Loading branch information
winlinvip committed Jan 9, 2016
2 parents dbdd2f2 + 56bffb6 commit da722b5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions trunk/src/app/srs_app_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,6 @@ namespace internal {
// readly terminated now.
really_terminated = true;

// 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;

handler->on_thread_stop();
srs_info("thread %s cycle finished", _name);
}
Expand Down

0 comments on commit da722b5

Please sign in to comment.