summaryrefslogtreecommitdiff
path: root/funcs/func_vmcount.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-07-16 13:35:20 +0000
committerJoshua Colp <jcolp@digium.com>2007-07-16 13:35:20 +0000
commit96a646734fe34d65077cbe49c533b80759fc12e8 (patch)
tree0ab20c37aa720b15f7617941caf77185337b181d /funcs/func_vmcount.c
parent8d1e53958cbaa906066725bc453be30f311a8ffe (diff)
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
Diffstat (limited to 'funcs/func_vmcount.c')
-rw-r--r--funcs/func_vmcount.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/funcs/func_vmcount.c b/funcs/func_vmcount.c
index 3cb5029e5..7f0282c32 100644
--- a/funcs/func_vmcount.c
+++ b/funcs/func_vmcount.c
@@ -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)