]> source.dussan.org Git - rspamd.git/commitdiff
Revert "[Fix] Stop slow timer on task destruction"
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 28 May 2022 11:03:02 +0000 (12:03 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 28 May 2022 11:03:02 +0000 (12:03 +0100)
This reverts commit 64cc33bb9169369241c78b999e3d1a4ce0a2cb02.

src/libserver/symcache/symcache_runtime.cxx

index f80c1ba19f9de05453d7903935526cb2840ea503..4bfa99529c9c0b074ac811bb30203a6ab228607b 100644 (file)
@@ -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;
        }
 }