fsprojects / FSharp.Control.TaskSeq

A computation expression and module for seamless working with IAsyncEnumerable<'T> as if it is just another sequence
MIT License
91 stars 7 forks source link

Prefer `IDisposable` over `IAsyncDisposable` for disposing `ReaderWriterLock` #227

Closed abelbraaksma closed 8 months ago

abelbraaksma commented 8 months ago

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).

abelbraaksma commented 8 months ago

Based on earlier comments/discussion this can be merged.