mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 12:07:09 +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:
@@ -234,7 +234,7 @@ void decode_close(void) {
|
||||
}
|
||||
running = false;
|
||||
UNLOCK_D;
|
||||
#if LINUX || OSX || FREEBSD
|
||||
#if LINUX || OSX || FREEBSD || EMBEDDED
|
||||
pthread_join(thread, NULL);
|
||||
#endif
|
||||
mutex_destroy(decode.mutex);
|
||||
|
||||
Reference in New Issue
Block a user