service: fix the mutex deadlock at shutdown in service_saver() thread fcn

This commit is contained in:
Jaroslav Kysela 2014-09-13 21:31:34 +02:00
parent a77b65a8af
commit 0ac8cdcf83

View file

@ -1313,6 +1313,8 @@ service_saver(void *aux)
pthread_mutex_unlock(&global_lock);
pthread_mutex_lock(&pending_save_mutex);
}
pthread_mutex_unlock(&pending_save_mutex);
return NULL;
}