diff options
author | Joshua Colp <jcolp@digium.com> | 2007-07-16 13:35:20 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-07-16 13:35:20 +0000 |
commit | 96a646734fe34d65077cbe49c533b80759fc12e8 (patch) | |
tree | 0ab20c37aa720b15f7617941caf77185337b181d /apps/app_adsiprog.c | |
parent | 8d1e53958cbaa906066725bc453be30f311a8ffe (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_adsiprog.c')
-rw-r--r-- | apps/app_adsiprog.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/app_adsiprog.c b/apps/app_adsiprog.c index b07a950a2..4729bcd99 100644 --- a/apps/app_adsiprog.c +++ b/apps/app_adsiprog.c @@ -1572,14 +1572,7 @@ static int adsi_exec(struct ast_channel *chan, void *data) static int unload_module(void) { - int res; - - ast_module_user_hangup_all(); - - res = ast_unregister_application(app); - - - return res; + return ast_unregister_application(app); } static int load_module(void) |