From 023e1341a139367d10437ae930a3c5137299ca08 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 7 Sep 2020 12:37:54 -0700 Subject: [PATCH] ircd::json: Only call _post_append() under nominal unwind. --- ircd/json.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircd/json.cc b/ircd/json.cc index b16b2696a..470bbfa6e 100644 --- a/ircd/json.cc +++ b/ircd/json.cc @@ -1632,7 +1632,7 @@ ircd::json::stack::array::append(const json::value &value) { assert(s); _pre_append(); - const unwind post{[this] + const unwind_nominal post{[this] { _post_append(); }}; @@ -1811,7 +1811,7 @@ ircd::json::stack::member::append(const json::value &value) { assert(s); _pre_append(); - const unwind post{[this] + const unwind_nominal post{[this] { _post_append(); }};