aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_dundi.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/pbx_dundi.c')
-rw-r--r--pbx/pbx_dundi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index a45758942..6ae74321f 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4491,6 +4491,11 @@ static int unload_module(void)
io_context_destroy(io);
sched_context_destroy(sched);
+ mark_mappings();
+ prune_mappings();
+ mark_peers();
+ prune_peers();
+
return 0;
}