Quantcast

The problem with profile changing has to do with recycling text widgets. For now I'm just stopping the widgets and letting garbage collection deal with them later. I'm leaving the warning in case that's not enough.

Scott Sibley [09-16-10 - 04:33]
The problem with profile changing has to do with recycling text widgets. For now I'm just stopping the widgets and letting garbage collection deal with them later. I'm leaving the warning in case that's not enough.
Filename
Modules/UnitTooltip.lua
diff --git a/Modules/UnitTooltip.lua b/Modules/UnitTooltip.lua
index 619a818..3f0b7e1 100644
--- a/Modules/UnitTooltip.lua
+++ b/Modules/UnitTooltip.lua
@@ -485,10 +485,10 @@ LibStub("StarLibPluginString-1.0"):New(plugin)
 function mod:ClearLines()
 	for k, v in pairs(lines) do
 		if v.leftObj then
-			v.leftObj:Del()
+			v.leftObj:Stop()
 		end
 		if v.rightObj then
-			v.rightObj:Del()
+			v.rightObj:Stop()
 		end
 	end
 	wipe(lines)