Skip to content

Cleanup Dispose implementations#6730

Merged
Youssef1313 merged 1 commit into
mainfrom
dev/ygerges/cleanup-dispose
Oct 13, 2025
Merged

Cleanup Dispose implementations#6730
Youssef1313 merged 1 commit into
mainfrom
dev/ygerges/cleanup-dispose

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Oct 12, 2025

Copy link
Copy Markdown
Member
  • Implementing IAsyncDisposable without IDisposable doesn't look like a good pattern. I changed those to always implement IDisposable, and then implement IAsyncDisposable when on .NET (Core)
  • Cleaned up unnecessary DisposeAsync of NamedPipeClient.
  • Cleaned up unnecessary calls of PipeNameDescription.Dispose.

@Youssef1313 Youssef1313 force-pushed the dev/ygerges/cleanup-dispose branch 2 times, most recently from 907d792 to 8b8fd65 Compare October 12, 2025 08:10
@Youssef1313 Youssef1313 force-pushed the dev/ygerges/cleanup-dispose branch from 8b8fd65 to 3414d2d Compare October 12, 2025 08:21
@Youssef1313 Youssef1313 merged commit 5244303 into main Oct 13, 2025
8 checks passed
@Youssef1313 Youssef1313 deleted the dev/ygerges/cleanup-dispose branch October 13, 2025 14:50
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.

2 participants