[Asterisk-code-review] pbx dundi: reordered unloading of module pbx dundi (asterisk[13])
Kirsty Tyerman
asteriskteam at digium.com
Thu Jun 28 23:01:26 CDT 2018
Kirsty Tyerman has uploaded this change for review. ( https://gerrit.asterisk.org/9313
Change subject: pbx_dundi: reordered unloading of module pbx_dundi
......................................................................
pbx_dundi: reordered unloading of module pbx_dundi
Destroy scheduler after peers are pruned to stop dundi crashing when
unloading module.
ASTERISK-26987
Reported-by: Kirsty Tyerman
Change-Id: Ic12e562cd90d8d813a9e97f302045091f59e3c05
---
M pbx/pbx_dundi.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/13/9313/1
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 03017d2..c8ddffb 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4984,13 +4984,14 @@
close(netsocket);
io_context_destroy(io);
- ast_sched_context_destroy(sched);
mark_mappings();
prune_mappings();
mark_peers();
prune_peers();
+ ast_sched_context_destroy(sched);
+
return 0;
}
--
To view, visit https://gerrit.asterisk.org/9313
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic12e562cd90d8d813a9e97f302045091f59e3c05
Gerrit-Change-Number: 9313
Gerrit-PatchSet: 1
Gerrit-Owner: Kirsty Tyerman <kirsty.tyerman at boeing.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180628/5ec20eb7/attachment-0001.html>
More information about the asterisk-code-review
mailing list