You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling the following code will result in a potential memory leak, and may cause some weird issues.
varotherModel=newOtherModel();masseuseModel.set('foo',masseuse.ProxyProperty('bar',otherModel);// Do some work
...
otherModel=newOtherModel();masseuseModel.set('foo',masseuse.ProxyProperty('bar',otherModel);
We need to keep a dictionary of computed, observer, and proxy properties, and perform cleanup of listeners prior to setting the property to something else.
The text was updated successfully, but these errors were encountered:
This might make it worthwhile to turn computed properties to using listeners - as you had it previously - instead of hard coded callbacks, since that way cleaning up Proxies and Computeds could be done in the same way.
Calling the following code will result in a potential memory leak, and may cause some weird issues.
We need to keep a dictionary of computed, observer, and proxy properties, and perform cleanup of listeners prior to setting the property to something else.
The text was updated successfully, but these errors were encountered: