Router: connection destroy sequence fixed.

This commit is contained in:
Max Romanov
2017-07-07 18:16:14 +03:00
parent fc9f73bbea
commit e41425bb1f
2 changed files with 11 additions and 3 deletions

View File

@@ -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)) {