Skip to content

Fix several terminal memory leaks#200405

Merged
Tyriar merged 3 commits intomainfrom
tyriar/leak
Dec 8, 2023
Merged

Fix several terminal memory leaks#200405
Tyriar merged 3 commits intomainfrom
tyriar/leak

Conversation

@Tyriar
Copy link
Copy Markdown
Contributor

@Tyriar Tyriar commented Dec 8, 2023

New diff:

image

This is expected as the view is created lazily and we don't tear it down by design when the last terminal is disposed.

Fixes #192838
Fixes #200400
Related xtermjs/xterm.js#4910

The mapped event was causing terminal instances to be retained as the TerminalService's
store was being passed in, instead of being bound to the instance's lifecycle

Fixes #200400
This fixes several issues thanks to xtermjs/xterm.js#4910
@Tyriar Tyriar added this to the December / January 2024 milestone Dec 8, 2023
@Tyriar Tyriar self-assigned this Dec 8, 2023
@Tyriar Tyriar enabled auto-merge December 8, 2023 20:32
@Tyriar Tyriar merged commit af0bd75 into main Dec 8, 2023
@Tyriar Tyriar deleted the tyriar/leak branch December 8, 2023 20:50
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
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.

TerminalInstance memory leak Terminal leaks TerminalLink?

2 participants