Skip to content

Commit

Permalink
fix(rx-stateful): set resetOnRefCountZero = true
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbe812 committed Jul 5, 2023
1 parent 9d50df8 commit e5f1f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/rx-stateful/src/lib/rx-stateful$.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function rxStateful$<T, E = unknown>(
connector: () => new ReplaySubject(1),
resetOnError: false,
resetOnComplete: false,
resetOnRefCountZero: false,
resetOnRefCountZero: true,
}),
_handleSyncValue()
);
Expand Down

0 comments on commit e5f1f02

Please sign in to comment.