mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
main/config: Clean config maps on shutdown.
ASTERISK-25700 #close Change-Id: I096da84f9c62c6095f68bcf98eac4b7c7868e808
This commit is contained in:
@@ -3863,6 +3863,8 @@ static void config_shutdown(void)
|
|||||||
|
|
||||||
ast_cli_unregister_multiple(cli_config, ARRAY_LEN(cli_config));
|
ast_cli_unregister_multiple(cli_config, ARRAY_LEN(cli_config));
|
||||||
|
|
||||||
|
clear_config_maps();
|
||||||
|
|
||||||
ao2_cleanup(cfg_hooks);
|
ao2_cleanup(cfg_hooks);
|
||||||
cfg_hooks = NULL;
|
cfg_hooks = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user