Allow shutdown to unload modules that register bucket scheme's or codec's.
authorCorey Farrell <git@cfware.com>
Sat, 21 Feb 2015 02:58:19 +0000 (02:58 +0000)
committerCorey Farrell <git@cfware.com>
Sat, 21 Feb 2015 02:58:19 +0000 (02:58 +0000)
commite66b874f5db1a5cfe3ede6e0cb72f1a545744d75
tree47dbdb22b1df191d5ac76255962691f7e15c4898
parentbb71672a47f7df49d1fab7161deafd7d815be06c
Allow shutdown to unload modules that register bucket scheme's or codec's.

* Change __ast_module_shutdown_ref to be NULL safe (11+).
* Allow modules that call ast_bucket_scheme_register or ast_codec_register
  to be unloaded during graceful shutdown only (13+ only).

ASTERISK-24796 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4428/
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/bucket.c
main/codec.c
main/loader.c