From 9e24ed5ccff762fa9d412d1a1321df2de1b26423 Mon Sep 17 00:00:00 2001 From: file Date: Mon, 16 Jul 2007 13:35:20 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/trunk@75183 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_vmcount.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'funcs/func_vmcount.c') 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) -- cgit v1.2.3