C Stack Overflow
Hey,
I think my addon is causing a C Stack Overflow. I think it's creating more frame each time the function is called but I don't really understand hoow it works. My function is Lua Code:
It's called every time I open my bag. I'll edit this post, to show you error when it apear. Issue : Lua Code:
Thanks |
The poseDot function is called every time you open your bag? Then you are adding an additional hook on ContainerFrame_Update each time you open your bag.
|
Fix C Stack Overflow overlay
Ok, for those who have same issue when creating overlay, I fixed it with this code
Lua Code:
and I call my function in function allEvents:ITEM_PUSH( bag, icone ) and function allEvents:BAG_UPDATE( bagID ) |
All times are GMT -6. The time now is 09:02 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI