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:
@@ -81,7 +81,7 @@ local function Update(self, event)
|
||||
end
|
||||
end
|
||||
|
||||
local function Path(self, ...)
|
||||
local function Path(self, event, a, b, c, d, e)
|
||||
--[[ Override: MasterLooterIndicator.Override(self, event, ...)
|
||||
Used to completely override the internal update function.
|
||||
|
||||
@@ -89,7 +89,7 @@ local function Path(self, ...)
|
||||
* event - the event triggering the update (string)
|
||||
* ... - the arguments accompanying the event
|
||||
--]]
|
||||
return (self.MasterLooterIndicator.Override or Update) (self, unpack(arg))
|
||||
return (self.MasterLooterIndicator.Override or Update) (self, event, a, b, c, d, e)
|
||||
end
|
||||
|
||||
local function ForceUpdate(element)
|
||||
|
||||
Reference in New Issue
Block a user