]> source.dussan.org Git - rspamd.git/commit
[Minor] Log should not depend on config 2450/head
authorMikhail Galanin <mgalanin@mimecast.com>
Thu, 30 Aug 2018 13:03:01 +0000 (14:03 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Thu, 30 Aug 2018 13:03:01 +0000 (14:03 +0100)
commit43d3cc3d8a4001c9cb65871a651fe81cbc6ee98e
treeec2a655a65f4dcc43a2359db69ad61b4a3bd528d
parenta7543072058055ff88698383967cf83f58fa663d
[Minor] Log should not depend on config

When config is being closed, some destructors could be called, and that dtors could write into log. Hence, it is better to terminate config and only then close log. And log should not refer disposed config
src/controller.c
src/fuzzy_storage.c
src/libserver/worker_util.c
src/libutil/logger.c
src/libutil/logger.h
src/log_helper.c
src/lua_worker.c
src/rspamadm/rspamadm.c
src/rspamd.c
src/rspamd_proxy.c
src/worker.c