Skip to content

Conversation

@meganrogge
Copy link
Member

@meganrogge meganrogge commented Feb 4, 2022

While working on #1852, I noticed that when clear is called, the decorations aren't disposed of because their markers aren't disposed.

@meganrogge meganrogge self-assigned this Feb 4, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a test related change needed to implement an interface

@meganrogge meganrogge requested a review from Tyriar February 4, 2022 23:40
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, an API test that creates 2 markers, scrolls them into scrollback, then creates 2 more and makes sure they get disposed on clear would be great too

@Tyriar Tyriar added this to the 4.18.0 milestone Feb 4, 2022
@meganrogge meganrogge merged commit a13f11a into xtermjs:master Feb 5, 2022
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.

2 participants