Skip to content

Commit

Permalink
ObservableCursor: _.clone collection lists before passing them to cal…
Browse files Browse the repository at this point in the history
…lbacks

Fixes #244
  • Loading branch information
Dominique Quatravaux committed Nov 7, 2019
1 parent 8f41c38 commit 950b3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ObservableCursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class ObservableCursor<T> extends Observable<T[]> {
this._isDataInitinialized = true;

this._zone.run(() => {
this._runNext(this._data);
this._runNext(_.clone(this._data));
});
}

Expand Down

0 comments on commit 950b3b1

Please sign in to comment.