summaryrefslogtreecommitdiff
path: root/res/res_hep_rtcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_hep_rtcp.c')
-rw-r--r--res/res_hep_rtcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_hep_rtcp.c b/res/res_hep_rtcp.c
index fe39f195b..787512bbf 100644
--- a/res/res_hep_rtcp.c
+++ b/res/res_hep_rtcp.c
@@ -131,7 +131,7 @@ static int load_module(void)
static int unload_module(void)
{
if (stasis_rtp_subscription) {
- stasis_rtp_subscription = stasis_unsubscribe(stasis_rtp_subscription);
+ stasis_rtp_subscription = stasis_unsubscribe_and_join(stasis_rtp_subscription);
}
return 0;