View Single Post
11-26-12, 04:25 AM   #2
Barjack
A Black Drake
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 89
I may have missed something there but I don't see anything in there that would be causing excess amounts of memory in the form of garbage. All I can really think of is that the use of HookScript might inherently cause some sort of garbage when the hook triggers, and that the hook is somehow being called on mouseover (although I wouldn't expect it to just from looking at that). If that is the case, then there may be no real solution and you might just have to leave it to the garbage collector to deal with.

To test this theory, though, if you comment out the two lines with "frame:HookScript" and "frame:SetScript", does the problem cease?
  Reply With Quote