Merged revisions 45818 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Sat, 21 Oct 2006 18:50:38 +0000 (18:50 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 21 Oct 2006 18:50:38 +0000 (18:50 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45818 | russell | 2006-10-21 14:49:46 -0400 (Sat, 21 Oct 2006) | 3 lines

Add a couple missing unregistrations of manager actions and remove duplicate
unregistrations of applications.  (issue #8194, jmls)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45819 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_monitor.c

index 793921b..9d73999 100644 (file)
@@ -659,8 +659,8 @@ static int unload_module(void)
        ast_manager_unregister("Monitor");
        ast_manager_unregister("StopMonitor");
        ast_manager_unregister("ChangeMonitor");
-       ast_unregister_application("PauseMonitor");
-       ast_unregister_application("UnpauseMonitor");
+       ast_manager_unregister("PauseMonitor");
+       ast_manager_unregister("UnpauseMonitor");
 
        return 0;
 }