Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was lost at some point in /trunk. #7374 (jstorm)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
BJ Weschke
2006-06-16 12:24:14 +00:00
parent 2e8a142c85
commit 9cbcf110e1

View File

@@ -2610,7 +2610,7 @@ static int unload_module(void *mod)
}
AST_LIST_UNLOCK(&agents);
AST_LIST_HEAD_DESTROY(&agents);
ast_channel_unregister(&agent_tech);
return 0;
}