main/config: Clean config maps on shutdown.
ASTERISK-25700 #close Change-Id: I096da84f9c62c6095f68bcf98eac4b7c7868e808
This commit is contained in:
parent
0a878020dc
commit
480ccfcc97
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue