From a4ae4cfd3bd5ce70b4e78aef51c86b670d4a9870 Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Mon, 12 Jan 2015 03:33:01 +0100 Subject: [PATCH] Garbage collecting when in progress screen is shown Signed-off-by: Alar of Daggerspine --- GarrisonCommander.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua index 525703e..c7e2218 100644 --- a/GarrisonCommander.lua +++ b/GarrisonCommander.lua @@ -1670,7 +1670,7 @@ local startTime=GetTime() -- Keeping it as a nice example of coroutine management.. but not using it anymore function addon:Clock() if (GMFMissions.showInProgress) then - collectgarbage("step",200) + collectgarbage("collect") --while I fix it.... else collectgarbage("step",100) end @@ -3576,7 +3576,6 @@ function addon:RenderButton(button,rewards,numRewards) if (not button.gcPANEL) then self:BuildExtraButton(button) end - print("Renderng extrabutton") self:RenderExtraButton(button,numRewards) end -- 1.7.9.5