Skip to content

Don't assert in debug before we're initialized#16021

Merged
carlos-zamora merged 1 commit intomainfrom
dev/migrie/b/oops-no-height
Sep 22, 2023
Merged

Don't assert in debug before we're initialized#16021
carlos-zamora merged 1 commit intomainfrom
dev/migrie/b/oops-no-height

Conversation

@zadjii-msft
Copy link
Member

@zadjii-msft zadjii-msft commented Sep 22, 2023

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

@lhecker
Copy link
Member

lhecker commented Sep 22, 2023

What kind of assertion was it?
Edit: It was the assert(false);

@carlos-zamora carlos-zamora merged commit 29a22c9 into main Sep 22, 2023
@carlos-zamora carlos-zamora deleted the dev/migrie/b/oops-no-height branch September 22, 2023 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants