Skip to content

Commit ba3a4af

Browse files
authored
Release Lua profiler v1.1.4 (#1515)
• Fix v1.1.3 regression not resetting table recursion depth
1 parent dc3abd7 commit ba3a4af

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Development/cfillion_Lua profiler.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,8 @@ local function attach(is_attach, name, value, opts, depth, in_metatable)
692692
-- don't dig into metatables to avoid listing (for example) string.byte
693693
-- as some_string_value`meta.__index.byte
694694
depth[#depth + 1] = value
695-
local border = #depth
696695
attachToTable(is_attach, name, value, opts, depth)
697-
for i = #depth, border, -1 do depth[i] = nil end
696+
depth[#depth] = nil
698697
return true
699698
end
700699

0 commit comments

Comments
 (0)