mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-18 17:21:08 +02:00
fixed netcall disconnect
This commit is contained in:
parent
2a3408cf40
commit
cd3aea8d8c
|
@ -129,7 +129,7 @@ ngx_rtmp_netcall_disconnect(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
|||
|
||||
if (ctx) {
|
||||
for (cs = ctx->cs; cs; cs = cs->next) {
|
||||
ngx_rtmp_netcall_detach(ctx->cs->pc->connection);
|
||||
ngx_rtmp_netcall_detach(cs->pc->connection);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue