Files
asterisk/main
Corey Farrell 2531f75057 Enable REF_DEBUG for ast_module_ref / ast_module_unref.
Add ast_module_shutdown_ref for use by modules that can
only be unloaded during graceful shutdown.

When REF_DEBUG is enabled:
* Add an empty ao2 object to struct ast_module.
* Allocate ao2 object when the module is loaded.
* Perform an ao2_ref in each place where mod->usecount is manipulated.
* ao2_cleanup on module unload.

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-02-11 15:51:33 +00:00
..
2015-01-26 14:49:32 +00:00
2015-01-26 14:49:32 +00:00
2013-08-20 15:36:10 +00:00
2015-01-30 16:47:50 +00:00
2014-10-10 13:01:41 +00:00
2014-09-05 17:36:35 +00:00
2013-08-16 16:26:11 +00:00
2013-09-10 18:05:47 +00:00
2014-05-09 22:49:26 +00:00
2014-08-05 21:44:09 +00:00
2015-01-30 16:47:50 +00:00
2015-01-30 16:47:50 +00:00
2015-01-26 14:49:32 +00:00
2015-01-26 14:49:32 +00:00
2015-01-30 16:47:50 +00:00
2015-01-30 16:47:50 +00:00