Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
subscriptions: set ths_current_instance to NULL in subscription_unlin…
…k_service0(), fixes #3577
  • Loading branch information
perexg committed Feb 19, 2016
1 parent a2ebe10 commit 7dec791
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subscriptions.c
Expand Up @@ -129,6 +129,7 @@ subscription_unlink_service0(th_subscription_t *s, int reason, int stop)

/* Ignore - not actually linked */
if (!s->ths_current_instance) goto stop;
s->ths_current_instance = NULL;

pthread_mutex_lock(&t->s_stream_mutex);

Expand Down

0 comments on commit 7dec791

Please sign in to comment.