fixed crash

This commit is contained in:
Roman Arutyunyan
2012-03-30 20:54:46 +04:00
parent ed3337d588
commit 8f648495ec

View File

@ -123,9 +123,11 @@ ngx_rtmp_netcall_disconnect(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_netcall_module);
if (ctx) {
while (ctx->cs) {
ngx_rtmp_netcall_close(ctx->cs->pc->connection);
}
}
return NGX_OK;
}