diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/run.c | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -38,6 +38,7 @@ o add eventfd emulation to communicate receiver -> sender o add best effort replication protocol (aka NOTRACK) o rework the HELLO logic inside FT-FW o fix leak in cache_destroy(): release objects before destroying the cache +o delay the closure of the dump descriptor to fix assertion with cache_wt version 0.9.6 (2008/03/08) ------------------------------ @@ -38,11 +38,13 @@ void killer(int foo) sigprocmask(SIG_BLOCK, &STATE(block), NULL); nfct_close(STATE(event)); - nfct_close(STATE(dump)); ignore_pool_destroy(STATE(ignore_pool)); local_server_destroy(&STATE(local)); STATE(mode)->kill(); + + nfct_close(STATE(dump)); /* cache_wt needs this here */ + unlink(CONFIG(lockfile)); dlog(LOG_NOTICE, "---- shutdown received ----"); close_log(); |