mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-27 12:50:49 +03:00
BT, EMBEDDED, thread joining
Fix a few BT issues (detection & sink name) End threads on any server missing for too long (except if server IP set manually) Still cannot end threads when BT active (works wit I2S) Thread lokc-up still happens when switching tracks quickly
This commit is contained in:
@@ -428,7 +428,7 @@ void stream_close(void) {
|
||||
LOCK;
|
||||
running = false;
|
||||
UNLOCK;
|
||||
#if LINUX || OSX || FREEBSD || POSIX
|
||||
#if LINUX || OSX || FREEBSD || EMBEDDED
|
||||
pthread_join(thread, NULL);
|
||||
#endif
|
||||
free(stream.header);
|
||||
|
||||
Reference in New Issue
Block a user