Skip to content

Fix possible TerminalInstance leak#203390

Merged
mjbvz merged 2 commits intomicrosoft:mainfrom
mjbvz:minimal-spider
Jan 29, 2024
Merged

Fix possible TerminalInstance leak#203390
mjbvz merged 2 commits intomicrosoft:mainfrom
mjbvz:minimal-spider

Conversation

@mjbvz
Copy link
Copy Markdown
Collaborator

@mjbvz mjbvz commented Jan 24, 2024

Fixes #200400

Two fixes:

  • Explicitly make sure an event is disposed of
  • In EventMultiplexer, explicitly dispose of all listeners when the multiplexer is disposed

Fixes microsoft#200400

Two fixes:

- Make sure an event is disposed of
- In EventMultiplexer, explicitly dispose of all listeners when the multiplexer is disposed
@mjbvz mjbvz added this to the February 2024 milestone Jan 24, 2024
@mjbvz mjbvz requested a review from Tyriar January 24, 2024 22:00
connor4312
connor4312 previously approved these changes Jan 24, 2024
@mjbvz mjbvz merged commit 9d6d60f into microsoft:main Jan 29, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 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

3 participants