dect
/
asterisk
Archived
13
0
Fork 0

Fixed per kpfleming's suggestion to asterisk-dev.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34464 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
bweschke 2006-06-16 12:56:03 +00:00
parent 9576e0c524
commit 0442a9bd3c
1 changed files with 1 additions and 1 deletions

View File

@ -2586,6 +2586,7 @@ static int unload_module(void *mod)
{
struct agent_pvt *p;
/* First, take us out of the channel loop */
ast_channel_unregister(&agent_tech);
/* Unregister dialplan functions */
ast_custom_function_unregister(&agent_function);
/* Unregister CLI commands */
@ -2610,7 +2611,6 @@ static int unload_module(void *mod)
}
AST_LIST_UNLOCK(&agents);
AST_LIST_HEAD_DESTROY(&agents);
ast_channel_unregister(&agent_tech);
return 0;
}