TriggerRegisterLeaveRectSimple
- Parameters
trig triggerr rect- comment
- bug
Leaks handle
rectRegion: In Jass you must set local variables that hold agents (or any child type) tonullat the end of functions to avoid reference counter leaks.- patch
1.00
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
event- Source code
function TriggerRegisterLeaveRectSimple takes trigger trig, rect r returns event local region rectRegion = CreateRegion() call RegionAddRect(rectRegion, r) return TriggerRegisterLeaveRegion(trig, rectRegion, null) endfunction