MOAR Cleanup
Repooc [08-04-14 - 06:45]
diff --git a/ElvUI_SLE/core/toolkit.lua b/ElvUI_SLE/core/toolkit.lua
index fda27de..b55b91d 100644
--- a/ElvUI_SLE/core/toolkit.lua
+++ b/ElvUI_SLE/core/toolkit.lua
@@ -28,6 +28,7 @@ function SLE:ValueTable(table, item)
for i, _ in pairs(table) do
if i == item then return true end
end
+
return false
end
@@ -37,6 +38,7 @@ function SLE:SimpleTable(table, item)
return true
end
end
+
return false
end
@@ -61,7 +63,8 @@ local function UpdateAll()
CH:GMIconUpdate()
M:TextWidth()
I:UpdateFrame()
-
+
collectgarbage('collect');
end
+
hooksecurefunc(E, "UpdateAll", UpdateAll)
\ No newline at end of file