diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-13 12:53:08 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-13 12:53:08 +0000 |
commit | fa578d794263958bf887c3037c0ede8a454d101c (patch) | |
tree | 3f9eb66c0de43f1cecb98410e2fee0792d3a1776 /res | |
parent | a720d9e5c87511d93077f86d4fac2ed3d563bc06 (diff) |
Do not allow res_timing_dahdi to be unloaded. We can re-enable this once we
add automatic use count handling for timing modules.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122526 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_timing_dahdi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/res/res_timing_dahdi.c b/res/res_timing_dahdi.c index 16b64b21a..bc8076690 100644 --- a/res/res_timing_dahdi.c +++ b/res/res_timing_dahdi.c @@ -180,9 +180,11 @@ static int load_module(void) static int unload_module(void) { - ast_uninstall_timing_functions(timing_funcs_handle); + /* ast_uninstall_timing_functions(timing_funcs_handle); */ - return 0; + /* This module can not currently be unloaded. No use count handling is being done. */ + + return -1; } AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "DAHDI Timing Interface"); |