G
Gudradain
Guest
For what I read memory leak seems to exclusively happen in action. But I wonder if an event can have memory leak.
In my event i use this code:
unit enter in region ( region center at point with size ...)
if i use a similar trigger in action i would have a point leak and a region leak but does it work the same way in event and how can i correct it if i have a leak.
I have also another trigger
set variable : variable = random unit (units within "range" of "point")
i already fix the point but do i have to fix the range? and is it consider as a region?
By the way is there a way to see if you have a leak in your trigger?
In my event i use this code:
unit enter in region ( region center at point with size ...)
if i use a similar trigger in action i would have a point leak and a region leak but does it work the same way in event and how can i correct it if i have a leak.
I have also another trigger
set variable : variable = random unit (units within "range" of "point")
i already fix the point but do i have to fix the range? and is it consider as a region?
By the way is there a way to see if you have a leak in your trigger?