From: Matthew Jordan Date: Sat, 3 Aug 2013 03:53:46 +0000 (+0000) Subject: Don't unsubscribe from the AMI message router from manager_bridges X-Git-Tag: 13.0.0-beta1~1346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2977846f0ab80df788e8d4729d96e560368faaa2;p=thirdparty%2Fasterisk.git Don't unsubscribe from the AMI message router from manager_bridges The AMI message router is owned wholly by manager.c. Previously, each of the manager_{item} source files had their own message router and they unsubscribed from each; once they moved over to using a single message router only a single unsubscribe became necessary. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396158 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager_bridges.c b/main/manager_bridges.c index 77533c6001..d563c2bc81 100644 --- a/main/manager_bridges.c +++ b/main/manager_bridges.c @@ -449,8 +449,6 @@ static int manager_bridge_info(struct mansession *s, const struct message *m) static void manager_bridging_cleanup(void) { - stasis_message_router_unsubscribe(bridge_state_router); - bridge_state_router = NULL; stasis_unsubscribe(topic_forwarder); topic_forwarder = NULL; }