mirror of
https://github.com/gvx/bitser.git
synced 2024-11-24 06:54:20 +00:00
Do not try to serialize metatables for class instances
This commit is contained in:
parent
f6e78d0c2a
commit
c08f169e91
@ -221,7 +221,7 @@ local function write_table(value, seen)
|
|||||||
serialize_value(v, seen)
|
serialize_value(v, seen)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if metatable then
|
if metatable and not classname then
|
||||||
serialize_value(metatable, seen)
|
serialize_value(metatable, seen)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user