mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-12 07:11:08 +02:00
fixed double-finalizing session
This commit is contained in:
parent
22de95e634
commit
95880e2bb6
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue