diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-28 12:34:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-28 12:34:33 +0100 |
commit | 563faab280101acdcbfe8a8f681dec74b50db85c (patch) | |
tree | be6c82ed6e07b7d79561b9258a2d5b51080895e5 /src/libserver/rspamd_symcache.h | |
parent | f9ac76aa3c375dfcbd921756e2418384bd4726e6 (diff) | |
download | rspamd-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.h | 6 |
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 |