[PR #16021] Don't assert in debug before we're initialized #30811

Closed
opened 2026-01-31 09:43:08 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


When launching a debug Terminal, _initializedTerminal might still be false and the scrollbar might still be 0px tall. This causes the assert(false) condition within _throttledUpdateScrollbar to be hit.

Regressed in #16006

**Original Pull Request:** https://github.com/microsoft/terminal/pull/16021 **State:** closed **Merged:** Yes --- When launching a debug Terminal, `_initializedTerminal` might still be false and the scrollbar might still be 0px tall. This causes the `assert(false)` condition within `_throttledUpdateScrollbar` to be hit. Regressed in #16006
claunia added the pull-request label 2026-01-31 09:43:08 +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#30811