mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Fix event table pool
This commit is contained in:
@@ -252,6 +252,7 @@ function DruidInstance.final(self)
|
||||
local components = self.components_all
|
||||
|
||||
for i = #components, 1, -1 do
|
||||
components[i]:on_internal_remove()
|
||||
if components[i].on_remove then
|
||||
components[i]:on_remove()
|
||||
end
|
||||
|
@@ -14,7 +14,6 @@ function _M.fetch(tag)
|
||||
pools[tag] = pool
|
||||
pool.c = 0
|
||||
pool[0] = 0
|
||||
|
||||
else
|
||||
local len = pool[0]
|
||||
if len > 0 then
|
||||
|
Reference in New Issue
Block a user