Skip to content

BrowserViewportService: Remove semaphore, Drawer: Use IAsyncDisposable#10020

Merged
ScarletKuro merged 1 commit intoMudBlazor:devfrom
ScarletKuro:browser_fix
Oct 14, 2024
Merged

BrowserViewportService: Remove semaphore, Drawer: Use IAsyncDisposable#10020
ScarletKuro merged 1 commit intoMudBlazor:devfrom
ScarletKuro:browser_fix

Conversation

@ScarletKuro
Copy link
Member

Description

Fixes: #10017
Remove semaphore.
Also Drawer was not using IAsyncDisposable for some reason (artifacts from the past?), which also contributed to race conditions as Dispose wasn't awaited, because theoretically the same should have happened to popover when it used locks in past.

How Has This Been Tested?

Type of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (fix or improvement to the website or code docs)

Checklist

  • The PR is submitted to the correct branch (dev).
  • My code follows the code style of this project.
  • I've added relevant tests.

@github-actions github-actions bot added bug Unexpected behavior or functionality not working as intended PR: needs review labels Oct 14, 2024
@codecov
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.99%. Comparing base (f8f8685) to head (f3cc80c).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10020      +/-   ##
==========================================
- Coverage   91.00%   90.99%   -0.01%     
==========================================
  Files         409      409              
  Lines       12518    12508      -10     
  Branches     2446     2442       -4     
==========================================
- Hits        11392    11382      -10     
  Misses        573      573              
  Partials      553      553              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ScarletKuro ScarletKuro merged commit 2e29d6d into MudBlazor:dev Oct 14, 2024
@ScarletKuro ScarletKuro deleted the browser_fix branch October 14, 2024 15:19
ScarletKuro added a commit that referenced this pull request Oct 14, 2024
LLauter pushed a commit to cannellamedia/MudBlazor that referenced this pull request Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Unexpected behavior or functionality not working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MudBlazor 7.12.0 Unhandled exception

1 participant