Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
ME_Kun_Han
2016-10-10 11:51:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
winlin
2016-10-10 11:51:49 +0800
Commit
7058411cb87aed2af819522e439789fd015b9a95
7058411c
1 parent
fba70afc
fix the core dump when trying to close srs (#386)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
6 行删除
trunk/src/app/srs_app_listener.cpp
trunk/src/app/srs_app_listener.cpp
100644 → 100755
查看文件 @
7058411
...
...
@@ -193,15 +193,10 @@ SrsTcpListener::SrsTcpListener(ISrsTcpHandler* h, string i, int p)
SrsTcpListener
::~
SrsTcpListener
()
{
// close the stfd to trigger thread to interrupted.
srs_close_stfd
(
_stfd
);
pthread
->
stop
();
srs_freep
(
pthread
);
// st does not close it sometimes,
// close it manually.
close
(
_fd
);
srs_close_stfd
(
_stfd
);
}
int
SrsTcpListener
::
fd
()
...
...
请
注册
或
登录
后发表评论