It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-07-16 13:35:20 +00:00
parent 8d1e53958c
commit 96a646734f
74 changed files with 46 additions and 357 deletions

View File

@@ -90,10 +90,7 @@ struct ast_custom_function acf_vmcount = {
static int unload_module(void)
{
int res = ast_custom_function_unregister(&acf_vmcount);
ast_module_user_hangup_all();
return res;
return ast_custom_function_unregister(&acf_vmcount);
}
static int load_module(void)