WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   Tutorials & Other Helpful Info. (http://www.wowinterface.com/forums/forumdisplay.php?f=12)
-   -   Adding Garbage Collection To Titan Performance. (http://www.wowinterface.com/forums/showthread.php?t=13064)

Dreadlorde 10-22-07 04:20 PM

Adding Garbage Collection To Titan Performance.
 
Performance.lua and add these lines tot he very end:
Code:

function TitanPanelPerformanceButton_OnClick()
collectgarbage('collect')
end

Next, open TitanPerformance.xml, and where the </onload> tag is, add under it:
Code:

<OnClick>
TitanPanelPerformanceButton_OnClick();
</OnClick>

Now whenever you left click on the performace Buttom/text, you will force a garbage collection.

Cheers. :)

Thanks to taffu and Cladhaire who gave me a indirect general idea on how to do this. Also Tristanian @ WoWUI.IncGamers for the xml


All times are GMT -6. The time now is 05:47 PM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC