[PR #18235] Defuse throttled_func when it's accidentally engaged #31484

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

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

State: closed
Merged: Yes


This change prevents throttled_func from reading uninitialized memory
under some yet-unkown circumstances. The tl;dr is:
This simply moves the callback invocation into the storage.
That way we can centrally avoid invoking the callback accidentally.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/18235 **State:** closed **Merged:** Yes --- This change prevents `throttled_func` from reading uninitialized memory under some yet-unkown circumstances. The tl;dr is: This simply moves the callback invocation into the storage. That way we can centrally avoid invoking the callback accidentally.
claunia added the pull-request label 2026-01-31 09:47:33 +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#31484