mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed double-finalizing session
This commit is contained in:
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user