glimmerjs / glimmer-vm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Values used as modifiers from nested function invocations need to have associateDestroyableChild called on them

NullVoxPopuli opened this issue · comments

Reproduction here: ember-modifier/ember-modifier#613 (comment)

The situation is when a modifier is conditionally applied:

<div {{ (if condition someModifier) }}>

when condition becomes false, someModifier is not destroyed