use pop() instead of remove()
This commit is contained in:
parent
2e9eefb240
commit
5b11cb12f5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user