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

Review Delay-operator #655

Merged
merged 5 commits into from
Jun 26, 2018
Merged

Review Delay-operator #655

merged 5 commits into from
Jun 26, 2018

Conversation

danielcweber
Copy link
Collaborator

No description provided.

@@ -74,18 +72,17 @@ public override void Run(TParent parent)

RunCore(parent);

Disposable.SetSingle(ref _sourceSubscription, parent._source.SubscribeSafe(this));
base.Run(parent._source);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I suggest removing those init-to-default lines above this and move _queue = ... into the constructor/field initializer.

@@ -300,17 +295,17 @@ public override void Run(TParent parent)

RunCore(parent);

Disposable.SetSingle(ref _sourceSubscription, parent._source.SubscribeSafe(this));
base.Run(parent._source);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here, no need to initialize fields to their default value.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed the default value initializations.

@danielcweber danielcweber merged commit 7eb1014 into dotnet:master Jun 26, 2018
@danielcweber danielcweber deleted the ReviewDelay branch June 26, 2018 16:59
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.

3 participants