manager: Register atexit shutdown routine only once.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 24 Jan 2014 22:18:52 +0000 (22:18 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 24 Jan 2014 22:18:52 +0000 (22:18 +0000)
commita9911f027e09167c2653b7c301136287322dbccc
treecc514402f6934a4c8bfa7544a3014d429ccacf1f
parentb78d0c0187544f768d01f613af85673b6f332455
manager: Register atexit shutdown routine only once.

* Made register atexit shutdown routine only once in __init_manager().

* Fixed some initial load failure conditions in __init_manager().

* Made reset options to defaults on reload when the reload will actually
happen.

* Removed unnecessary container traversals of the white/black filters
during manager_free_user().

* ast_free() does not need a NULL check before calling.
........

Merged revisions 406359 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

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

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

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