add missing unregistration of a manager action on module unload
authorRussell Bryant <russell@russellbryant.com>
Fri, 14 Jul 2006 21:02:55 +0000 (21:02 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 14 Jul 2006 21:02:55 +0000 (21:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37638 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index e83a57c..7d369a9 100644 (file)
@@ -10139,6 +10139,7 @@ static int __unload_module(void)
        ast_manager_unregister( "ZapDNDoff" );
        ast_manager_unregister( "ZapDNDon" );
        ast_manager_unregister("ZapShowChannels");
+       ast_manager_unregister("ZapRestart");
        ast_channel_unregister(&zap_tech);
        ast_mutex_lock(&iflock);
        /* Hangup all interfaces if they have an owner */