mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
fix the bug for gmc. 0.9.211
This commit is contained in:
parent
61728118ab
commit
9dd0939327
2 changed files with 4 additions and 15 deletions
|
@ -385,23 +385,12 @@ void SrsServer::destroy()
|
|||
srs_freep(signal_manager);
|
||||
srs_freep(kbps);
|
||||
|
||||
// never destroy the connections, for it's still alive.
|
||||
/*for (std::vector<SrsConnection*>::iterator it = conns.begin(); it != conns.end();) {
|
||||
SrsConnection* conn = *it;
|
||||
// @remark never destroy the connections,
|
||||
// for it's still alive.
|
||||
|
||||
// remove the connection, then free it,
|
||||
// for the free will remove itself from server,
|
||||
// when erased here, the remove of server will ignore.
|
||||
it = conns.erase(it);
|
||||
|
||||
srs_freep(conn);
|
||||
}
|
||||
conns.clear();*/
|
||||
|
||||
// never destroy the source,
|
||||
// @remark never destroy the source,
|
||||
// when we free all sources, the fmle publish may retry
|
||||
// and segment fault.
|
||||
//SrsSource::destroy();
|
||||
}
|
||||
|
||||
int SrsServer::initialize()
|
||||
|
|
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// current release version
|
||||
#define VERSION_MAJOR "0"
|
||||
#define VERSION_MINOR "9"
|
||||
#define VERSION_REVISION "210"
|
||||
#define VERSION_REVISION "211"
|
||||
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
|
||||
// server info.
|
||||
#define RTMP_SIG_SRS_KEY "SRS"
|
||||
|
|
Loading…
Reference in a new issue