mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user