Balking when connecting to HPM.

This commit is contained in:
Mike Brady
2025-12-04 11:35:00 +00:00
parent 009a13dfe5
commit 0e274eb760
4 changed files with 22 additions and 14 deletions
+4 -2
View File
@@ -3322,12 +3322,14 @@ void player_thread_cleanup_handler(void *arg) {
} else if (conn->airplay_stream_type == buffered_stream) {
debug(2,
debug(1,
"Connection %d: Delete Buffered Audio Stream thread by player_thread_cleanup_handler",
conn->connection_number);
pthread_cancel(conn->rtp_buffered_audio_thread);
pthread_join(conn->rtp_buffered_audio_thread, NULL);
debug(1,
"Connection %d: Deleted Buffered Audio Stream thread by player_thread_cleanup_handler",
conn->connection_number);
} else {
die("Unrecognised Stream Type");
}