-
Notifications
You must be signed in to change notification settings - Fork 3k
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(audit): fix crashes in case of the duration Observable completes #2743
fix(audit): fix crashes in case of the duration Observable completes #2743
Conversation
fix the problem when subscribeToResult() returns null it will crash described by @deadbeef84 2595
spec/operators/audit-spec.ts
Outdated
@@ -139,6 +139,18 @@ describe('Observable.prototype.audit', () => { | |||
expectSubscriptions(e1.subscriptions).toBe(e1subs); | |||
}); | |||
|
|||
it('should mirror source if durations are Observable.of()', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather name it for synchronous observable instead of specifically say of
operator (this could happen for any synchronous observable).
…le.empty() (#2595) * fix(audit): mirror source if durations are Observable.empty() * refactor(audit): respond to feedback.
Generated by 🚫 dangerJS |
change test name
I'm labelling this as patch for now. |
@benlesh I think this can go with 5.5? |
Why is this still not fixed? :( |
Closing for #3608 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
fix the problem when subscribeToResult() returns null it will crash described by @deadbeef84
Related issue (if exists):
fixes #2595