summaryrefslogtreecommitdiff
path: root/apps/app_dial.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 /apps/app_dial.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 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 8751d65ea..7ee3e3272 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1946,8 +1946,6 @@ static int unload_module(void)
res = ast_unregister_application(app);
res |= ast_unregister_application(rapp);
- ast_module_user_hangup_all();
-
if ((con = ast_context_find("app_dial_gosub_virtual_context"))) {
ast_context_remove_extension2(con, "s", 1, NULL);
}