commit 951a933: Revert "[Fix] Stop slow timer on task destruction"

Vsevolod Stakhov vsevolod at rspamd.com
Sat May 28 11:42:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-05-28 12:03:02 +0100
URL: https://github.com/rspamd/rspamd/commit/951a933117aedbb2a5f88ba78d3a996ea1d75c51

Revert "[Fix] Stop slow timer on task destruction"
This reverts commit 64cc33bb9169369241c78b999e3d1a4ce0a2cb02.

---
 src/libserver/symcache/symcache_runtime.cxx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libserver/symcache/symcache_runtime.cxx b/src/libserver/symcache/symcache_runtime.cxx
index f80c1ba19..4bfa99529 100644
--- a/src/libserver/symcache/symcache_runtime.cxx
+++ b/src/libserver/symcache/symcache_runtime.cxx
@@ -674,7 +674,6 @@ rspamd_delayed_timer_dtor(gpointer d)
 		/* Event has not been executed */
 		rspamd_session_remove_event (cbd->task->s,
 				rspamd_symcache_delayed_item_fin, cbd);
-		ev_timer_stop(cbd->task->event_loop, &cbd->tm);
 		cbd->event = nullptr;
 	}
 }


More information about the Commits mailing list