Fix a bug where the dacp notification handlers are called

This commit is contained in:
Mike Brady
2018-07-21 15:35:07 +01:00
parent f1d4503431
commit 2eaaa9cdb3
5 changed files with 17 additions and 20 deletions
+2 -2
View File
@@ -127,8 +127,8 @@ void add_metadata_watcher(metadata_watcher fn, void *userdata) {
}
void metadata_hub_unlock_hub_mutex_cleanup(__attribute__((unused)) void *arg) {
debug(1, "metadata_hub_unlock_hub_mutex_cleanup called.");
pthread_rwlock_wrlock(&metadata_hub_re_lock);
// debug(1, "metadata_hub_unlock_hub_mutex_cleanup called.");
pthread_rwlock_unlock(&metadata_hub_re_lock);
}
void run_metadata_watchers(void) {