mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
When shutting down "gracefully", go through and run the unload() callbacks for
all of the modules. "stop now" is considered a non-graceful shutdown and will not go through this process. (issue #9804, reported by chrisost, patch by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -134,6 +134,13 @@ int ast_loader_register(int (*updater)(void));
|
||||
*/
|
||||
int ast_loader_unregister(int (*updater)(void));
|
||||
|
||||
/*!
|
||||
* \brief Run the unload() callback for all loaded modules
|
||||
*
|
||||
* This function should be called when Asterisk is shutting down gracefully.
|
||||
*/
|
||||
void ast_module_shutdown(void);
|
||||
|
||||
/*!
|
||||
* \brief Match modules names for the Asterisk cli.
|
||||
* \param line Unused by this function, but this should be the line we are
|
||||
|
Reference in New Issue
Block a user