SQLite3 persistence: Fix garbage collection

This commit is contained in:
Lars Mueller 2022-02-28 01:11:56 +01:00
parent 214533f4bf
commit d4d3b456b5

@ -97,6 +97,7 @@ function set(self, table, key, value)
add_table(self, key)
add_table(self, value)
end
local previous_value = table[key]
if type(previous_value) == "table" then
decrement_reference_count(self, previous_value)
end