This creates an effective memory leak. Given a node with markup like this:
<div style="background: {{background}};"></div>
The result is a binding to the style attribute where the model is a compound binding. If the binding on the style attribute is subsequently unbound, the compound binding model is not disposed of and therefore never gets a chance to clean up its observer.
This creates an effective memory leak. Given a node with markup like this:
The result is a binding to the style attribute where the model is a compound binding. If the binding on the style attribute is subsequently unbound, the compound binding model is not disposed of and therefore never gets a chance to clean up its observer.