Skip to content

Commit

Permalink
FIX duplicate unsubscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Jul 18, 2022
1 parent 8db4be8 commit cb15f11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rx-collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,6 @@ export class RxCollectionBase<
this._onDestroyCall();
}
Array.from(this.timeouts).forEach(timeout => clearTimeout(timeout));
this._subs.forEach(sub => sub.unsubscribe());
if (this._changeEventBuffer) {
this._changeEventBuffer.destroy();
}
Expand Down

0 comments on commit cb15f11

Please sign in to comment.