diff options
Diffstat (limited to 'apps/app_echo.c')
-rw-r--r-- | apps/app_echo.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c index 14f7c6d65..6110f5369 100644 --- a/apps/app_echo.c +++ b/apps/app_echo.c @@ -87,13 +87,7 @@ end: 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) |