diff options
Diffstat (limited to 'apps/app_eval.c')
-rwxr-xr-x | apps/app_eval.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_eval.c b/apps/app_eval.c index 6b0f612e7..0b0f3b28a 100755 --- a/apps/app_eval.c +++ b/apps/app_eval.c @@ -93,8 +93,13 @@ static int eval_exec(struct ast_channel *chan, void *data) int unload_module(void) { + int res; + + res = ast_unregister_application(app_eval); + STANDARD_HANGUP_LOCALUSERS; - return ast_unregister_application(app_eval); + + return res; } int load_module(void) |