]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Remove unnecessary channel module references.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 27 Nov 2012 20:36:45 +0000 (20:36 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 27 Nov 2012 20:36:45 +0000 (20:36 +0000)
commitccd39c3ebfa7e34662154b06365cd3ca3cb9fc30
tree4f2dea6ea0e8f94a835f83f6e1191557b2146d8f
parent82000331d6fc4defa351cb0e17c0bdba3f0a1897
Remove unnecessary channel module references.

* Removed call to ast_module_user_hangup_all() in res_config_mysql.c since
it is effectively a noop.  No channels can attach a reference to that
module.

* Removed call to ast_module_user_hangup_all() in app_celgenuserevent.c.
The caller of unload_module() has already called it.

* Removed redundant channel module references in pbx_dundi.c.  The
registered dialplan function callback dispatchers for the read/read2/write
callbacks already reference the module before calling.

* pbx_dundi: Moved unregistering CLI commands, DUNDi switch, and dialplan
functions to the first thing the unload_module() does.  This will reduce
the chance of new channels using DUNDi services while the module is being
torn down.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@376658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
addons/res_config_mysql.c
apps/app_celgenuserevent.c
pbx/pbx_dundi.c