Skip to content

Conversation

@danielcweber
Copy link
Collaborator

No description provided.

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.

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