summaryrefslogtreecommitdiff
path: root/main/taskprocessor.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2012-12-11 21:04:45 +0000
committerMark Michelson <mmichelson@digium.com>2012-12-11 21:04:45 +0000
commit8cb156bfc1533fa7442f9824b00b15c09ad62d19 (patch)
treeca373aceb97237a8414f774389d71cb7a02e95e0 /main/taskprocessor.c
parent619de7f01222e36aac4bd997678dcf2bc15afe70 (diff)
Add UUID support to Asterisk.
This provides a common API for dealing with unique identifiers. The API provides methods to create, parse, copy, and stringify UUIDs. An accompanying unit test is provided that tests all operations. (closes issue ASTERISK-20726) reported by Matt Jordan Review: https://reviewboard.asterisk.org/r/2217 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/taskprocessor.c')
-rw-r--r--main/taskprocessor.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/main/taskprocessor.c b/main/taskprocessor.c
index d8f1af3e8..912f891b1 100644
--- a/main/taskprocessor.c
+++ b/main/taskprocessor.c
@@ -122,15 +122,10 @@ static struct ast_cli_entry taskprocessor_clis[] = {
AST_CLI_DEFINE(cli_tps_report, "List instantiated task processors and statistics"),
};
-/*!
- * \internal
- * \brief Clean up resources on Asterisk shutdown
- */
+/*! \internal \brief Clean up resources on Asterisk shutdown */
static void tps_shutdown(void)
{
- ast_cli_unregister_multiple(taskprocessor_clis, ARRAY_LEN(taskprocessor_clis));
ao2_t_ref(tps_singletons, -1, "Unref tps_singletons in shutdown");
- tps_singletons = NULL;
}
/* initialize the taskprocessor container and register CLI operations */