diff options
Diffstat (limited to 'apps/app_flash.c')
-rw-r--r-- | apps/app_flash.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/app_flash.c b/apps/app_flash.c index 5f90093bb..2497419a2 100644 --- a/apps/app_flash.c +++ b/apps/app_flash.c @@ -111,13 +111,7 @@ static int flash_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) |