-
Notifications
You must be signed in to change notification settings - Fork 496
Add SemaphoreSlim Support for Popup CloseAsync to Avoid Race Conditions
#3235
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
TheCodeTraveler
merged 28 commits into
main
from
Ensure-Popup-Has-Closed-Before-`CloseAsync`-Returns
Jun 9, 2026
Merged
Changes from 15 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
bac4e4e
Subscribe to `ModalPopped`
TheCodeTraveler 24eb984
Call `GetParentWindow()` inside `CloseAsync`
TheCodeTraveler 8dc72db
Add Test Timeouts
TheCodeTraveler 2eb2a0f
Update PopupPageTests.cs
TheCodeTraveler cf29d19
Add `popup.NotifyPopupIsClosed();`
TheCodeTraveler 733dd0d
Update PopupPageTests.cs
TheCodeTraveler 17928b5
Add support for nested Popups
TheCodeTraveler e8488d6
Add missing unit tests
TheCodeTraveler ea905c2
Update PopupPage.shared.cs
TheCodeTraveler 6bcc001
Update PopupPageTests.cs
TheCodeTraveler af0f929
Update PopupPage.shared.cs
TheCodeTraveler b6f3516
Add PopupPage.ShowAsync
TheCodeTraveler 1b9c1e4
Add Missing Unit Tests
TheCodeTraveler 3b7e949
In `CloseAsync`, implement `navigationSemaphoreSlim` inside its own t…
TheCodeTraveler 866e468
Add missing unit tests
TheCodeTraveler adf4cc5
Fix null referece
TheCodeTraveler 484c7ce
Update SemaphoreSlim(1,1) logic in CloseAsync
TheCodeTraveler 21d95f9
`dotnet format`
TheCodeTraveler c40639f
Potential fix for pull request finding
TheCodeTraveler 82d0b00
Potential fix for pull request finding
TheCodeTraveler 1f7f7ec
await SemaphoreSlim(1,1) inside try/finally to ensure event deregistr…
TheCodeTraveler 6b53276
Potential fix for pull request finding
TheCodeTraveler 0f360cc
Update logic for navigationSemaphoreSlim.Release
TheCodeTraveler 030e58b
Merge branch 'Ensure-Popup-Has-Closed-Before-`CloseAsync`-Returns' of…
TheCodeTraveler 1ab81a1
Fix XML error
TheCodeTraveler dbadc83
Remove `WaitAsync`
TheCodeTraveler e590829
Potential fix for pull request finding
TheCodeTraveler 5f7c41d
Potential fix for pull request finding
TheCodeTraveler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.