Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prefer IDisposable over IAsyncDisposable for disposing ReaderWriterLock #227

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

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

abelbraaksma
Copy link
Member

As in the title. This does not fix any bug, but is just a small improvement. No need to IAsyncDisposable for internal stuff when there's clearly no async code involved in the disposing of resources (in this case, ReaderWriterLock).

@bartelink bartelink changed the title Prefer IDisposable over IAsyndDisposable for disposing ReaderWriterLock Prefer IDisposable over IAsyncDisposable for disposing ReaderWriterLock Dec 24, 2023
@abelbraaksma
Copy link
Member Author

Based on earlier comments/discussion this can be merged.

@abelbraaksma abelbraaksma merged commit 75cbccc into main Dec 24, 2023
@abelbraaksma abelbraaksma deleted the prefer-dispose-over-asyncdispose branch December 24, 2023 15:31
@abelbraaksma abelbraaksma added enhancement New feature or request topic: surface area Adds functions to the public surface area labels Dec 24, 2023
@abelbraaksma abelbraaksma added this to the v0.4.0 milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic: surface area Adds functions to the public surface area
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants