- Joined
- Jan 4, 2010
- Messages
- 14
Hi.
I have have a leak in my map and found that the leak comes from this trigger. (Did a few tests while watching Windows Task Manager, and I'm definate that this trigger is causing a small leak)
My map is a tower defense map. Basically what this trigger does it that it clears dummy towers created by another trigger (the main anti-juggle trigger), if there are no more creeps in the player's zone.
I tried to follow memory leak tutorials but I don't find anything else that might leak that is mentioned in the tutorials. I plugged as many leaks as I could already, but the problem is that it still leaks (around 4 KB per few seconds).
The screenshot is just part of the trigger (of 2 player zones). The rest of the trigger is just basically a copy and paste of the first part.
Would appreciate if you could spot the leak. Thanks.
I have have a leak in my map and found that the leak comes from this trigger. (Did a few tests while watching Windows Task Manager, and I'm definate that this trigger is causing a small leak)
My map is a tower defense map. Basically what this trigger does it that it clears dummy towers created by another trigger (the main anti-juggle trigger), if there are no more creeps in the player's zone.
I tried to follow memory leak tutorials but I don't find anything else that might leak that is mentioned in the tutorials. I plugged as many leaks as I could already, but the problem is that it still leaks (around 4 KB per few seconds).
The screenshot is just part of the trigger (of 2 player zones). The rest of the trigger is just basically a copy and paste of the first part.
Would appreciate if you could spot the leak. Thanks.
Last edited: