Browse Source

[Fix] Fix race condition in watcher handler

tags/2.0
Vsevolod Stakhov 4 years ago
parent
commit
ac9751f06a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/fuzzy_storage.c

+ 1
- 1
src/fuzzy_storage.c View File

@@ -517,8 +517,8 @@ rspamd_fuzzy_reply_io (EV_P_ ev_io *w, int revents)
{
struct fuzzy_session *session = (struct fuzzy_session *)w->data;

rspamd_fuzzy_write_reply (session);
ev_io_stop (EV_A_ w);
rspamd_fuzzy_write_reply (session);
REF_RELEASE (session);
}


Loading…
Cancel
Save