We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa503a commit 22f86e0Copy full SHA for 22f86e0
packages/core/src/internal/share-latest.ts
@@ -49,8 +49,8 @@ const shareLatest = <T>(
49
subject!.complete()
50
},
51
)
52
+ if (subscription.closed) subscription = null
53
emitIfEmpty()
- if (subscription && subscription.closed) subscription = null
54
} else {
55
innerSub = subject.subscribe(subscriber)
56
if (currentValue !== EMPTY_VALUE) {
0 commit comments