mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
Remove unsafe write of listener member.
git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@377381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -474,7 +474,6 @@ static void listener_shutdown(struct ast_taskprocessor_listener *listener)
|
||||
{
|
||||
listener->callbacks->shutdown(listener);
|
||||
ao2_ref(listener->tps, -1);
|
||||
listener->tps = NULL;
|
||||
}
|
||||
|
||||
struct ast_taskprocessor_listener *ast_taskprocessor_listener_alloc(const struct ast_taskprocessor_listener_callbacks *callbacks)
|
||||
|
Reference in New Issue
Block a user