projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a2f14
)
Fixed per kpfleming's suggestion to asterisk-dev.
author
BJ Weschke
<bweschke@btwtech.com>
Fri, 16 Jun 2006 12:56:03 +0000
(12:56 +0000)
committer
BJ Weschke
<bweschke@btwtech.com>
Fri, 16 Jun 2006 12:56:03 +0000
(12:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34464
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_agent.c
patch
|
blob
|
history
diff --git
a/channels/chan_agent.c
b/channels/chan_agent.c
index
b3895c4
..
71be99a
100644
(file)
--- a/
channels/chan_agent.c
+++ b/
channels/chan_agent.c
@@
-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;
}