]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Allow shutdown to unload modules that register bucket scheme's or codec's.
authorCorey Farrell <git@cfware.com>
Sat, 21 Feb 2015 02:55:26 +0000 (02:55 +0000)
committerCorey Farrell <git@cfware.com>
Sat, 21 Feb 2015 02:55:26 +0000 (02:55 +0000)
commit5464d4df0016c88f473cc8547cd1b700efdf65b6
tree6946d5121cffff17c3ddbe671b91decfa202bc96
parent5881fedfa6d3c81e01151491ba8ac3d9fcf74335
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/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@432058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/loader.c