diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-13 10:50:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-13 10:50:13 +0000 |
commit | ab72b000c4b7d72480ca6347334b64d3541e31ad (patch) | |
tree | 33e701dcab77d01fda28f13d9dc306d9405e95c4 /src/libserver | |
parent | 13d9071f962ec51088ea2eefbe312c6c7682bf23 (diff) | |
download | rspamd-ab72b000c4b7d72480ca6347334b64d3541e31ad.tar.gz rspamd-ab72b000c4b7d72480ca6347334b64d3541e31ad.zip |
[Minor] Another try to fix race
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/redis_pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/redis_pool.c b/src/libserver/redis_pool.c index 3cae96deb..9187a5e0b 100644 --- a/src/libserver/redis_pool.c +++ b/src/libserver/redis_pool.c @@ -217,6 +217,7 @@ rspamd_redis_conn_timeout (EV_P_ ev_timer *w, int revents) } else { /* Finalising by timeout */ + ev_timer_stop (EV_A_ w); msg_debug_rpool ("final removal of connection %p, refcount: %d", conn->ctx, conn->ref.refcount); REF_RELEASE (conn); |