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
winlin
2014-09-10 14:58:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
61728118ab80d39c52ea9a5a5bbc6d41692c7757
61728118
1 parent
79938f32
donot destroy the source and connections of gmc.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
7 行增加
和
3 行删除
trunk/src/app/srs_app_server.cpp
trunk/src/app/srs_app_server.cpp
查看文件 @
6172811
...
...
@@ -385,7 +385,8 @@ void SrsServer::destroy()
srs_freep
(
signal_manager
);
srs_freep
(
kbps
);
for
(
std
::
vector
<
SrsConnection
*>::
iterator
it
=
conns
.
begin
();
it
!=
conns
.
end
();)
{
// never destroy the connections, for it's still alive.
/*for (std::vector<SrsConnection*>::iterator it = conns.begin(); it != conns.end();) {
SrsConnection* conn = *it;
// remove the connection, then free it,
...
...
@@ -395,9 +396,12 @@ void SrsServer::destroy()
srs_freep(conn);
}
conns
.
clear
();
conns.clear();
*/
SrsSource
::
destroy
();
// never destroy the source,
// when we free all sources, the fmle publish may retry
// and segment fault.
//SrsSource::destroy();
}
int
SrsServer
::
initialize
()
...
...
请
注册
或
登录
后发表评论