manager: Unsubscribe from acl_change_sub at shutdown.
authorCorey Farrell <git@cfware.com>
Tue, 28 Oct 2014 20:44:22 +0000 (20:44 +0000)
committerCorey Farrell <git@cfware.com>
Tue, 28 Oct 2014 20:44:22 +0000 (20:44 +0000)
ASTERISK-24453 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4110/
........

Merged revisions 426524 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 426525 from http://svn.asterisk.org/svn/asterisk/branches/13

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

main/manager.c

index 95090ac..ceee37f 100644 (file)
@@ -8492,6 +8492,7 @@ static void manager_shutdown(void)
        while ((user = AST_LIST_REMOVE_HEAD(&users, list))) {
                manager_free_user(user);
        }
+       acl_change_stasis_unsubscribe();
 }