1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1657, refine the context for disposing

This commit is contained in:
winlin 2020-11-05 17:16:59 +08:00
parent b492d59df0
commit fc21b31714
9 changed files with 38 additions and 12 deletions

View file

@ -656,7 +656,7 @@ SrsServer::SrsServer()
pid_fd = -1;
signal_manager = new SrsSignalManager(this);
conn_manager = new SrsResourceManager("RTMP/API");
conn_manager = new SrsResourceManager("TCP", true);
handler = NULL;
ppid = ::getppid();