[Asterisk-Dev] ast_module_reload: Shouldn't it check use count?

Matthew Boehm mboehm at cytelcom.com
Thu Oct 21 13:50:12 MST 2004


>From what I read in loader.c, the function ast_module_reload (called by
doing "reload module.so" from CLI), doesn't check the usecount of the module
its about to reload. Isn't this bad?

When you issue from CLI: unload module.so, ast_unload_resource checks the
use count of the module before executing the unload function.

Seems that ast_module_reload should do this too eh?

My $0.02,
-Matthew




More information about the asterisk-dev mailing list