Merged revisions 82243 via svnmerge from
[asterisk/asterisk.git] / pbx / pbx_dundi.c
index 169426c..e1d79c8 100644 (file)
@@ -4743,6 +4743,11 @@ static int unload_module(void)
        io_context_destroy(io);
        sched_context_destroy(sched);
 
+       mark_mappings();
+       prune_mappings();
+       mark_peers();
+       prune_peers();
+
        return 0;
 }