Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed leaking when tracking array changes
The observableArray did leak the last value held by the observable when subscribing for array change events, and then disposing the subscription. The vlaue was being held by the closure held by the arrayChangeSubscription. Setting it to null allows the GC to collect the closure and the previousContents variable. This commit fixes #2216
- Loading branch information