Destroy the generic_monitors container after the core_instances in ccss
authorMatthew Jordan <mjordan@digium.com>
Wed, 3 Oct 2012 17:27:53 +0000 (17:27 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 3 Oct 2012 17:27:53 +0000 (17:27 +0000)
commit9367893cff8b69dd070adcce06ca9b5a998188cc
tree852cfc530007c4a926a48452086b15cd7f0ea023
parent9b25076e837559d70203a011f886bc0d1fff2185
Destroy the generic_monitors container after the core_instances in ccss

For each item in core_instances disposed of in the shutdown of ccss, any
generic monitor instances referenced by the objects will be removed from
generic_monitors during their destruction.  Hilarity ensues if
generic_monitors no longer exists.

Thanks to the Asterisk Test Suite's generic_ccss test for complaining loudly
when it ran into this.
........

Merged revisions 374300 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 374301 from http://svn.asterisk.org/svn/asterisk/branches/11

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