[PR #8117] Make CloseWarningDialog async #27104

Open
opened 2026-01-31 09:20:01 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/8117

State: closed
Merged: Yes


The CloseWarningDialog is now "awaitable"/async, as suggested in PR #7871.

As opening the dialog is async, the flag can be reset in the same
method. This way the flag operations occur in the same method. The
event handlers of the buttons became obsolete and are removed.

Validation Steps Performed

Tested manually.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8117 **State:** closed **Merged:** Yes --- The CloseWarningDialog is now "awaitable"/async, as suggested in PR #7871. As opening the dialog is async, the flag can be reset in the same method. This way the flag operations occur in the same method. The event handlers of the buttons became obsolete and are removed. ## Validation Steps Performed Tested manually.
claunia added the pull-request label 2026-01-31 09:20:01 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27104