Hi,
This this the function i use :
function My_UnitMana(unitid)
return UnitMana(unitid) or "";
end
...
And i call it like this :
table.insert(tmpmess, tostring(My_UnitMana(unit)));
If i replace my function by this (for test):
function My_UnitMana(unitid)
--return UnitMana(unitid) or "";
return 1;
end
the memory is constant.
I understand that Unitxxx use memory, but i dont understand why it growing ...
(Petite parenthese : salut l'ami ! en esperant que mon anglais ne soit pas trop mauvais ! Je prefere repondre en anglais histoire de respecter la langue du forum
)