From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 10 Sep 2023 10:02:59 +0000 (+0100) Subject: Fix a bug whereby volume control changes would be ignored after a pause in playing... X-Git-Tag: 4.3~1^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556419e84572e3bf77fb3e83e7bd88ac125ef847;p=thirdparty%2Fshairport-sync.git Fix a bug whereby volume control changes would be ignored after a pause in playing of longer than about 8 minutes. --- diff --git a/rtsp.c b/rtsp.c index dfa1c668..57781ec8 100644 --- a/rtsp.c +++ b/rtsp.c @@ -2727,13 +2727,8 @@ void handle_teardown_2(rtsp_conn_info *conn, __attribute__((unused)) rtsp_messag teardown_phase_two(conn); debug(2, "Connection %d: TEARDOWN %s -- close the connection complete", conn->connection_number, get_category_string(conn->airplay_stream_category)); + release_play_lock(conn); } - //} else { - // warn("Connection %d TEARDOWN received without having the player (no ANNOUNCE?)", - // conn->connection_number); - // resp->respcode = 451; - - release_play_lock(conn); plist_free(messagePlist); resp->respcode = 200;