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
1.4
BJ Weschke 19 years ago
parent 2e8a142c85
commit 9cbcf110e1

@ -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;
}

Loading…
Cancel
Save