Thread Tools Display Modes
10-22-07, 04:20 PM   #1
Dreadlorde
A Pyroguard Emberseer
 
Dreadlorde's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 2,302
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
__________________

Funtoo - Plan 9 - Windows 7

Last edited by Dreadlorde : 10-23-07 at 06:17 PM. Reason: doesn't work
  Reply With Quote

WoWInterface » Developer Discussions » Tutorials & Other Helpful Info. » Adding Garbage Collection To Titan Performance.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off