DestroyEffectAsyncBJ
- comment
- bug
Leaks handle
localEffect: 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
3.0.0.24268
- Source
- Blizzard.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
function DestroyEffectAsyncBJ takes nothing returns nothing local effect localEffect = bj_destroyEffectAsyncEffect local real localTime = bj_destroyEffectAsyncTime call TriggerSleepAction(localTime) call DestroyEffect(localEffect) endfunction