From a17e8c0a58fa6db8468bd8935c5b58dd9baaef7e Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 16 Jul 2026 16:07:28 +0200 Subject: [PATCH] Update release notes for version 5.2-dev-35 [skip ci] Added a new exit handler for clean exits and fixed various bugs related to mutex handling and compiler warnings. --- RELEASENOTES-DEVELOPMENT.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/RELEASENOTES-DEVELOPMENT.md b/RELEASENOTES-DEVELOPMENT.md index cb2d958f..e30b62c3 100644 --- a/RELEASENOTES-DEVELOPMENT.md +++ b/RELEASENOTES-DEVELOPMENT.md @@ -1,7 +1,18 @@ -Version 5.2-dev-31-gb1a9f645 +Version 5.2-dev-35-g83ae1d28 == -**Bug Fix** -* Fixed a bug whereby Shairport Sync was hanging up when an "unfixable" error was detected with no recovery routine. The hang-up was because it was trying to clean up the environment before terminating and was getting stuck. Thanks to [timg7](https://github.com/timg7) for the [report](https://github.com/mikebrady/shairport-sync/issues/2234). +**New Feature** +* Added a long-overdue exit handler to enable Shairport Sync to exit cleanly — that is, to clean everything up, e.g. open files, sockets, devices, threads, etc. before exit. + + If cleanup isn’t finished after one second, exit will occur unconditionally. + + The new exit handler is used for normal exit, abnormal exit after fatal errors and for quit requests from the D-Bus and MPRIS interfaces. + +**Bug Fixes** +* When an unfixable error occurs without an unfixable error handler installed, the mutex protecting Shairport Sync’s `alsa` backend is now unlocked to permit a clean exit. Thanks to [timg7](https://github.com/timg7) for the [report](https://github.com/mikebrady/shairport-sync/issues/2234). + +* Updated `audio_sndio.c` to remove some harmless compiler warnings. + +* Fixed a very low-level mutex-locking error that interfered with debugging. Version 5.2-dev-26-gbe6d9d0a ==