mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
warning when join thread failed. 1.0.29
This commit is contained in:
parent
ccc30c70c4
commit
6d64e38656
2 changed files with 4 additions and 2 deletions
|
@ -122,7 +122,9 @@ void SrsThread::stop()
|
|||
// wait the thread to exit.
|
||||
int ret = st_thread_join(tid, NULL);
|
||||
// TODO: FIXME: the join maybe failed, should use a variable to ensure thread terminated.
|
||||
srs_assert(ret == 0);
|
||||
if (ret != 0) {
|
||||
srs_warn("join thread failed. code=%d", ret);
|
||||
}
|
||||
|
||||
tid = NULL;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// current release version
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 28
|
||||
#define VERSION_REVISION 29
|
||||
|
||||
// server info.
|
||||
#define RTMP_SIG_SRS_KEY "SRS"
|
||||
|
|
Loading…
Reference in a new issue