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