summaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_symcache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-05-28 12:34:33 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-05-28 12:34:33 +0100
commit563faab280101acdcbfe8a8f681dec74b50db85c (patch)
treebe6c82ed6e07b7d79561b9258a2d5b51080895e5 /src/libserver/rspamd_symcache.h
parentf9ac76aa3c375dfcbd921756e2418384bd4726e6 (diff)
downloadrspamd-563faab280101acdcbfe8a8f681dec74b50db85c.tar.gz
rspamd-563faab280101acdcbfe8a8f681dec74b50db85c.zip
[Fix] Another try to fix race condition in the runtime destruction
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r--src/libserver/rspamd_symcache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h
index 95ca614af..8707c631f 100644
--- a/src/libserver/rspamd_symcache.h
+++ b/src/libserver/rspamd_symcache.h
@@ -520,6 +520,12 @@ const struct rspamd_symcache_item_stat *
* @param task
*/
void rspamd_symcache_enable_profile (struct rspamd_task *task);
+
+/**
+ * Destroy internal state of the symcache runtime
+ * @param task
+ */
+void rspamd_symcache_runtime_destroy (struct rspamd_task *task);
#ifdef __cplusplus
}
#endif