summaryrefslogtreecommitdiff
path: root/apps/app_minivm.c
diff options
context:
space:
mode:
authorEliel C. Sardanons <eliels@gmail.com>2009-05-22 19:38:33 +0000
committerEliel C. Sardanons <eliels@gmail.com>2009-05-22 19:38:33 +0000
commitd6759e0117729cef6caf40d4d08617c57eaa9c24 (patch)
treedf301ecc7dc3787a85130078c32820918015707a /apps/app_minivm.c
parentad08eeaabf314b80760f137633ceadfb91947033 (diff)
Unregister every registered application by MiniVM.
The MinivmMWI application was not being unregistered on unload and we were not able to load again the module or reload it. (closes issue #15174) Reported by: junky Patches: unregister_minivm_mwi.diff uploaded by junky (license 177) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_minivm.c')
-rw-r--r--apps/app_minivm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index 59323ee4e..8b68294be 100644
--- a/apps/app_minivm.c
+++ b/apps/app_minivm.c
@@ -3462,6 +3462,8 @@ static int unload_module(void)
res |= ast_unregister_application(app_minivm_notify);
res |= ast_unregister_application(app_minivm_delete);
res |= ast_unregister_application(app_minivm_accmess);
+ res |= ast_unregister_application(app_minivm_mwi);
+
ast_cli_unregister_multiple(cli_minivm, ARRAY_LEN(cli_minivm));
ast_custom_function_unregister(&minivm_account_function);
ast_custom_function_unregister(&minivm_counter_function);