diff options
Diffstat (limited to 'apps/app_skel.c')
-rwxr-xr-x | apps/app_skel.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_skel.c b/apps/app_skel.c index 9f301249a..15817444f 100755 --- a/apps/app_skel.c +++ b/apps/app_skel.c @@ -108,8 +108,13 @@ static int app_exec(struct ast_channel *chan, void *data) 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) |