diff options
Diffstat (limited to 'src/lua/lua_config.c')
-rw-r--r-- | src/lua/lua_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index c732b67a1..c58b35c56 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -1362,6 +1362,7 @@ lua_metric_symbol_callback_coro (struct rspamd_task *task, struct rspamd_task **ptask; struct thread_entry *thread_entry; + cd->item = item; rspamd_symcache_item_async_inc (task, item, "lua coro symbol"); thread_entry = lua_thread_pool_get_for_task (task); @@ -1370,7 +1371,6 @@ lua_metric_symbol_callback_coro (struct rspamd_task *task, lua_State *thread = thread_entry->lua_state; cd->stack_level = lua_gettop (thread); - cd->item = item; if (cd->cb_is_ref) { lua_rawgeti (thread, LUA_REGISTRYINDEX, cd->callback.ref); |