From e41425bb1f1e3eebdf10aa1da47d0affaf8f80d5 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Fri, 7 Jul 2017 18:16:14 +0300 Subject: Router: connection destroy sequence fixed. --- src/nxt_mp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_mp.c') diff --git a/src/nxt_mp.c b/src/nxt_mp.c index aafc1ab5..0b82cf2a 100644 --- a/src/nxt_mp.c +++ b/src/nxt_mp.c @@ -285,6 +285,8 @@ nxt_mp_destroy(nxt_mp_t *mp) nxt_debug_alloc("mp destroy"); + nxt_mp_thread_assert(mp); + next = nxt_rbtree_root(&mp->blocks); while (next != nxt_rbtree_sentinel(&mp->blocks)) { -- cgit