diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index eb4e4ffc..e2c36c0c 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -1536,10 +1536,10 @@ capmt_caid_change(th_descrambler_t *td) } } + pthread_mutex_unlock(&capmt->capmt_mutex); + if (change) capmt_notify_server(capmt, ct); - - pthread_mutex_unlock(&capmt->capmt_mutex); } static void