diff options
Diffstat (limited to 'apps/app_softhangup.c')
-rw-r--r-- | apps/app_softhangup.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/app_softhangup.c b/apps/app_softhangup.c index 018edc07d..a011c3225 100644 --- a/apps/app_softhangup.c +++ b/apps/app_softhangup.c @@ -104,13 +104,7 @@ static int softhangup_exec(struct ast_channel *chan, void *data) static int unload_module(void) { - int res; - - res = ast_unregister_application(app); - - ast_module_user_hangup_all(); - - return res; + return ast_unregister_application(app); } static int load_module(void) |