mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 10:32:20 +02:00
Revert "Solve #182 add table pool for events"
This reverts commit dff522fbaa
.
This commit is contained in:
@@ -252,7 +252,6 @@ 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
|
||||
@@ -290,7 +289,6 @@ function DruidInstance.remove(self, component)
|
||||
local all_components = self.components_all
|
||||
for i = #all_components, 1, -1 do
|
||||
if all_components[i] == component then
|
||||
component:on_internal_remove()
|
||||
if component.on_remove then
|
||||
component:on_remove()
|
||||
end
|
||||
|
Reference in New Issue
Block a user