Solve #182 add table pool for events

This commit is contained in:
Insality
2022-04-05 18:57:40 +03:00
parent 2779f9cf7a
commit dff522fbaa
24 changed files with 244 additions and 6 deletions

View File

@@ -121,6 +121,12 @@ function Progress.init(self, node, key, init_value)
end
function Progress.on_internal_remove(self)
component.on_internal_remove(self)
self.on_change:clear()
end
-- @tparam Progress self @{Progress}
function Progress.on_late_init(self)
self:set_to(self._init_value)