diff options
Diffstat (limited to 'apps/app_festival.c')
-rwxr-xr-x | apps/app_festival.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c index d1f2571c8..59b0c5be5 100755 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -470,8 +470,13 @@ static int festival_exec(struct ast_channel *chan, void *vdata) int unload_module(void) { + int res; + + res = ast_unregister_application(app); + STANDARD_HANGUP_LOCALUSERS; - return ast_unregister_application(app); + + return res; } int load_module(void) |