Merge pull request #1800 from klemensn/rtsp-listener-exit-segfault

Fix crash on double pthread_cancel(3) on exit (detected on OpenBSD).
This commit is contained in:
Mike Brady
2024-02-06 10:04:33 +00:00
committed by GitHub
+1 -1
View File
@@ -5694,7 +5694,7 @@ void *rtsp_listen_loop(__attribute((unused)) void *arg) {
} while (1);
pthread_cleanup_pop(1); // should never happen
} else {
warn("could not establish a service on port %d -- program terminating. Is another instance of "
die("could not establish a service on port %d -- program terminating. Is another instance of "
"Shairport Sync running on this device?",
config.port);
}