Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use refcount for sharereplay when relevant #972

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Conversation

fpaul-1A
Copy link
Contributor

Proposed change

The default refCount: false on shareReplay never closes the observable stream even if all subscriptions are properly unsubscribed
In most cases we don't want to keep it open

Related issues

  • 🐛 Fixes #(issue)
  • 🚀 Feature #(issue)

@fpaul-1A fpaul-1A requested a review from a team as a code owner October 27, 2023 11:18
@nx-cloud
Copy link

nx-cloud bot commented Oct 27, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 158a6f2. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@fpaul-1A fpaul-1A added this pull request to the merge queue Oct 27, 2023
Merged via the queue into main with commit 9c856d8 Oct 27, 2023
25 checks passed
@fpaul-1A fpaul-1A deleted the fix/share-replayz branch October 27, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants