service: fix the mutex deadlock at shutdown in service_saver() thread fcn
This commit is contained in:
parent
a77b65a8af
commit
0ac8cdcf83
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue