fixed double-finalizing session

This commit is contained in:
Roman Arutyunyan 2012-11-20 16:32:41 +04:00
parent 22de95e634
commit 95880e2bb6

View file

@ -293,6 +293,9 @@ ngx_rtmp_finalize_session(ngx_rtmp_session_t *s)
ngx_connection_t *c;
c = s->connection;
if (c->destroyed) {
return;
}
ngx_log_debug0(NGX_LOG_DEBUG_RTMP, c->log, 0, "finalize session");