Merge "main/config: Clean config maps on shutdown."

This commit is contained in:
Joshua Colp
2016-01-17 11:44:38 -06:00
committed by Gerrit Code Review

View File

@@ -3863,6 +3863,8 @@ static void config_shutdown(void)
ast_cli_unregister_multiple(cli_config, ARRAY_LEN(cli_config));
clear_config_maps();
ao2_cleanup(cfg_hooks);
cfg_hooks = NULL;
}