fixed netcall disconnect

This commit is contained in:
Roman Arutyunyan 2012-04-04 19:36:23 +04:00
parent 2a3408cf40
commit cd3aea8d8c

View file

@ -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);
}
}