DestroyCondition

Parameters
c conditionfunc
comment

Destroys the provided condition.

note

Only call this on conditionfuncs created via And,Or,Not.

note

conditionfunc extends from boolexpr->agent and must be explicitly destroyed to prevent leaks. However, most functions from blizzard.j destroy passed boolexpr automatically.

return type
nothing
Source code
native DestroyCondition takes conditionfunc c returns nothing
Source
boolexpr.j
wc3modding.com
DestroyCondition