mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 02:22:18 +02:00
Solve #182 add table pool for events
This commit is contained in:
@@ -289,6 +289,7 @@ 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