Skip to content

fix(shareLatest): properly closing sync observables#194

Merged
josepot merged 1 commit intomainfrom
fix/sync-firehose-observables
May 7, 2021
Merged

fix(shareLatest): properly closing sync observables#194
josepot merged 1 commit intomainfrom
fix/sync-firehose-observables

Conversation

@josepot
Copy link
Copy Markdown
Member

@josepot josepot commented May 6, 2021

Basically, bringing this to react-rxjs

@josepot josepot requested a review from voliva May 6, 2021 11:43
subject!.complete()
},
)
if (subscription.closed) subscription = null
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer needed! 🎉

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good one

@codecov
Copy link
Copy Markdown

codecov bot commented May 6, 2021

Codecov Report

Merging #194 (3544675) into main (51148d1) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #194   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        27           
  Lines          451       451           
  Branches        63        62    -1     
=========================================
  Hits           451       451           
Impacted Files Coverage Δ
packages/core/src/internal/share-latest.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51148d1...3544675. Read the comment docs.

subject!.complete()
},
)
if (subscription.closed) subscription = null
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good one

@josepot josepot merged commit c6b4010 into main May 7, 2021
@josepot josepot deleted the fix/sync-firehose-observables branch May 7, 2021 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants