Quantcast

Garbage collecting when in progress screen is shown

Alar of Daggerspine [01-12-15 - 02:33]
Garbage collecting when in progress screen is shown

Signed-off-by: Alar of Daggerspine <alar@aspide.it>
Filename
GarrisonCommander.lua
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