DestroyFilter

Parameters
f filterfunc
comment

Destroys the provided filter function.

note

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

note

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

note

See: Filter.

patch

1.00

return type
nothing
Source code
native DestroyFilter    takes filterfunc f returns nothing
Source
common.j
wc3modding.com
DestroyFilter