[PR #13044] Only add the ProfileVM.DeleteProfile handler once #29349

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

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

State: closed
Merged: Yes


Turns out if you add that Delete handler there, then every time you navigate to the profile, we'll add another Delete handler to the list of handlers. That's bad - that'll cause us to try and delete the profile multiple times.

The repro I had before was 100%, now it's fixed.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13044 **State:** closed **Merged:** Yes --- Turns out if you add that Delete handler there, then every time you navigate to the profile, we'll add another Delete handler to the list of handlers. That's bad - that'll cause us to try and delete the profile multiple times. The repro I had before was 100%, now it's fixed. * [x] Closes #13017
claunia added the pull-request label 2026-01-31 09:34:23 +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#29349