Thread: Memory Leak ?
View Single Post
05-03-17, 01:49 PM   #5
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Originally Posted by Kakjens View Post
Why not declare "local mis_avl, mis_pro, mis_fin" in line 5 after "local GetCompleteMissions = C_Garrison.GetCompleteMissions", and don't call dataobj.OnTooltipShow with extra variables? Should be a bit larger average but smaller peak memory consumption.
I think because you need to get the value in the moment you make the dataobj.OnTooltipShow.

Thanks for the reply.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote