Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only call buffer once and store it on xterm creation #112844

Closed
wants to merge 1 commit into from

Conversation

meganrogge
Copy link
Contributor

This PR fixes #111562

@meganrogge meganrogge added this to the January 2021 milestone Dec 18, 2020
@meganrogge meganrogge self-assigned this Dec 18, 2020
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.

@meganrogge
Copy link
Contributor Author

@meganrogge can we instead fix this upstream? I expect caching the buffer here should fix the issue https://github.com/xtermjs/xterm.js/blob/5cb048094e23da22ccfe46666b87d1ad427dce6d/src/browser/public/Terminal.ts#L59

Yes I wanted to wait for your review because wondered about that too.

@meganrogge
Copy link
Contributor Author

closing because have created a PR on xterm.js to resolve the upstream issue

@meganrogge meganrogge closed this Jan 4, 2021
@meganrogge meganrogge deleted the merogge/terminal-memory-leak branch January 4, 2021 16:35
@github-actions github-actions bot locked and limited conversation to collaborators Feb 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak in terminal support
2 participants