From 090b609fe83a0588fcfdb21106e0738beeaeb62d Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 30 May 2026 16:59:23 +0100 Subject: [PATCH] Undo a change that exposes a race condition. The race condition needs to be fixed first! --- rtsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtsp.c b/rtsp.c index 84c0572d..23fc8487 100644 --- a/rtsp.c +++ b/rtsp.c @@ -2276,7 +2276,7 @@ void handle_teardown(rtsp_conn_info *conn, __attribute__((unused)) rtsp_message resp->respcode = 200; msg_add_header(resp, "Connection", "close"); - conn->stop = 1; + // conn->stop = 1; //an anomaly needs to be fixed } #ifdef CONFIG_AIRPLAY_2 @@ -2307,7 +2307,7 @@ void handle_teardown_2(rtsp_conn_info *conn, __attribute__((unused)) rtsp_messag } resp->respcode = 200; msg_add_header(resp, "Connection", "close"); - conn->stop = 1; + // conn->stop = 1; //an anomaly needs to be fixed } #endif