[asterisk-commits] main/config: Clean config maps on shutdown. (asterisk[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jan 17 11:44:38 CST 2016
Joshua Colp has submitted this change and it was merged.
Change subject: main/config: Clean config maps on shutdown.
......................................................................
main/config: Clean config maps on shutdown.
ASTERISK-25700 #close
Change-Id: I096da84f9c62c6095f68bcf98eac4b7c7868e808
---
M main/config.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
George Joseph: Looks good to me, but someone else must approve
diff --git a/main/config.c b/main/config.c
index 98fa9a2..04e9367 100644
--- a/main/config.c
+++ b/main/config.c
@@ -3863,6 +3863,8 @@
ast_cli_unregister_multiple(cli_config, ARRAY_LEN(cli_config));
+ clear_config_maps();
+
ao2_cleanup(cfg_hooks);
cfg_hooks = NULL;
}
--
To view, visit https://gerrit.asterisk.org/2028
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I096da84f9c62c6095f68bcf98eac4b7c7868e808
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-commits
mailing list