-
Notifications
You must be signed in to change notification settings - Fork 770
Use the stateful overload of AsyncLock in some places. #583
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
Use the stateful overload of AsyncLock in some places. #583
Conversation
@@ -155,7 +155,7 @@ protected override void Dispose(bool disposing) | |||
if (disposing) | |||
{ | |||
Disposable.TryDispose(ref _timerSerial); | |||
} | |||
} |
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.
Misaligned }
@@ -305,7 +305,7 @@ protected override void Dispose(bool disposing) | |||
if (disposing) | |||
{ | |||
Disposable.TryDispose(ref _periodicDisposable); | |||
} | |||
} |
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.
Misaligned }
@@ -399,7 +399,7 @@ protected override void Dispose(bool disposing) | |||
if (disposing) | |||
{ | |||
Disposable.TryDispose(ref _timerSerial); | |||
} | |||
} |
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.
Misaligned }
} | ||
|
||
protected override void Dispose(bool disposing) | ||
{ | ||
if (disposing) | ||
{ | ||
Disposable.TryDispose(ref _bufferClosingSerialDisposable); | ||
} | ||
} |
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.
Misaligned }
@@ -663,7 +663,7 @@ protected override void Dispose(bool disposing) | |||
if (disposing) | |||
{ | |||
Disposable.TryDispose(ref _boundariesDisposable); | |||
} | |||
} |
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.
Misaligned }
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.
Unclear how that happened....fixed.
…ion of closures and allow delegate caching.
Save allocation of lots of closures and allow delegate caching!