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(audit): fix crashes in case of the duration Observable completes #2743

Conversation

asnov
Copy link

@asnov asnov commented Jul 12, 2017

Description:
fix the problem when subscribeToResult() returns null it will crash described by @deadbeef84
Related issue (if exists):
fixes #2595

fix the problem when subscribeToResult() returns null it will crash described by @deadbeef84

2595
@@ -139,6 +139,18 @@ describe('Observable.prototype.audit', () => {
expectSubscriptions(e1.subscriptions).toBe(e1subs);
});

it('should mirror source if durations are Observable.of()', () => {
Copy link
Member

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).

asnov referenced this pull request Jul 12, 2017
…le.empty() (#2595)

* fix(audit): mirror source if durations are Observable.empty()

* refactor(audit): respond to feedback.
@rxjs-bot
Copy link

rxjs-bot commented Jul 12, 2017

Messages
📖

CJS: 3161.8KB, global: 585.8KB (gzipped: 107.6KB), min: 138.0KB (gzipped: 29.1KB)

Generated by 🚫 dangerJS

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.734% when pulling dc00efd on asnov:fixes/audit-when-duration-selector-completes(fixing#2595) into 80a5ea7 on ReactiveX:master.

@coveralls
Copy link

coveralls commented Jul 12, 2017

Coverage Status

Coverage remained the same at 97.734% when pulling dc00efd on asnov:fixes/audit-when-duration-selector-completes(fixing#2595) into 80a5ea7 on ReactiveX:master.

@kwonoj
Copy link
Member

kwonoj commented Jul 12, 2017

I'm labelling this as patch for now.

@kwonoj
Copy link
Member

kwonoj commented Sep 19, 2017

@benlesh I think this can go with 5.5?

@deadbeef84
Copy link

Why is this still not fixed? :(

@benlesh
Copy link
Member

benlesh commented Apr 26, 2018

Closing for #3608

@benlesh benlesh closed this Apr 26, 2018
@lock
Copy link

lock bot commented Jun 5, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants