aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-operation.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-operation.c')
-rw-r--r--camel/camel-operation.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/camel/camel-operation.c b/camel/camel-operation.c
index 8718c52e99..7c641251b4 100644
--- a/camel/camel-operation.c
+++ b/camel/camel-operation.c
@@ -105,6 +105,17 @@ camel_operation_init(void)
}
/**
+ * camel_operation_shutdown:
+ *
+ * Cleans up internal variables.
+ **/
+void
+camel_operation_shutdown (void)
+{
+ pthread_key_delete (&operation_key);
+}
+
+/**
* camel_operation_new:
* @status: Callback for receiving status messages. This will always
* be called with an internal lock held.