mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Fix: memory leak connected to lua 5.0 vaarargs
This commit is contained in:
@@ -22,9 +22,9 @@ local function onEvent()
|
||||
end
|
||||
|
||||
local event_metatable = {
|
||||
__call = function(funcs, self, ...)
|
||||
__call = function(funcs, self, event, a, b, c, d, e)
|
||||
for _, func in next, funcs do
|
||||
func(self, unpack(arg))
|
||||
func(self, event, a, b, c, d, e)
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user