-
Notifications
You must be signed in to change notification settings - Fork 754
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
Conversation
@@ -74,18 +72,17 @@ public override void Run(TParent parent) | |||
|
|||
RunCore(parent); | |||
|
|||
Disposable.SetSingle(ref _sourceSubscription, parent._source.SubscribeSafe(this)); | |||
base.Run(parent._source); |
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 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); |
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.
Same here, no need to initialize fields to their default value.
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 removed the default value initializations.
No description provided.