mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 05:39:39 +00:00
Fix shutdown crash caused by modules being left open.
It is only safe to run ast_register_cleanup callbacks when all modules have been unloaded. Previously these callbacks were run during graceful shutdown, making it possible to crash during shutdown. ASTERISK-26513 #close Change-Id: Ibfa635bb688d1227ec54aa211d90d6bd45052e21
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#define _ASTERISK__PRIVATE_H
|
||||
|
||||
int load_modules(unsigned int); /*!< Provided by loader.c */
|
||||
int modules_shutdown(void); /*!< Provided by loader.c */
|
||||
int load_pbx(void); /*!< Provided by pbx.c */
|
||||
int load_pbx_builtins(void); /*!< Provided by pbx_builtins.c */
|
||||
int load_pbx_functions_cli(void); /*!< Provided by pbx_functions.c */
|
||||
|
Reference in New Issue
Block a user