Remove waiting subscriptions in subscription_done()
This commit is contained in:
parent
1e11bc8c19
commit
cbc4600cc4
1 changed files with 4 additions and 0 deletions
|
@ -763,6 +763,10 @@ subscription_init(void)
|
|||
void
|
||||
subscription_done(void)
|
||||
{
|
||||
pthread_mutex_lock(&global_lock);
|
||||
/* clear remaining subscriptions */
|
||||
subscription_reschedule();
|
||||
pthread_mutex_unlock(&global_lock);
|
||||
assert(LIST_FIRST(&subscriptions) == NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue