Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service: call descrambler_service_stop outside s_stream_mutex lock
  • Loading branch information
perexg committed Mar 10, 2016
1 parent f5fcb58 commit f7d416e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service.c
Expand Up @@ -345,10 +345,10 @@ service_stop(service_t *t)

t->s_stop_feed(t);

pthread_mutex_lock(&t->s_stream_mutex);

descrambler_service_stop(t);

pthread_mutex_lock(&t->s_stream_mutex);

t->s_tt_commercial_advice = COMMERCIAL_UNKNOWN;

assert(LIST_FIRST(&t->s_streaming_pad.sp_targets) == NULL);
Expand Down

0 comments on commit f7d416e

Please sign in to comment.