Test that shutdown callback is called when expected.

git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@376383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2012-11-16 05:00:42 +00:00
parent 2b36cbe2d5
commit ec68a15619
2 changed files with 9 additions and 0 deletions

View File

@@ -565,6 +565,7 @@ struct ast_taskprocessor *ast_taskprocessor_create_with_listener(const char *nam
void *ast_taskprocessor_unreference(struct ast_taskprocessor *tps)
{
struct ast_taskprocessor_listener *listener;
if (!tps) {
return NULL;
}