diff --git a/logging.lua b/logging.lua index ee1636a..61a3b5a 100644 --- a/logging.lua +++ b/logging.lua @@ -122,7 +122,7 @@ local function cloneNonRecursive(value, sentinels) for k,v in pairs(value) do clone[cloneNonRecursive(k, sentinels)] = cloneNonRecursive(v, sentinels) end - RecursionSentinel.remove(sentinels, value) + RecursionSentinel.pop(sentinels) sentinel.value = clone return sentinel.value