Skip to content

Conversation

@SimonSiefke
Copy link
Contributor

Before (Opening and Closing Chat Widget 197 times):

Untitled

It seems that each time opening the chat widget, a new timeout disposable is registered, which seems to make the number of disposables grow by one each time.

The change uses a MutableDisposable to clear the previous timeout disposable when the setVisible function is called.

@bpasero
Copy link
Member

bpasero commented Sep 4, 2025

@justschen not sure if this is you?

@bpasero bpasero added this to the September 2025 milestone Sep 22, 2025
@bpasero bpasero self-assigned this Sep 22, 2025
@bpasero bpasero enabled auto-merge (squash) September 22, 2025 07:16
@bpasero bpasero merged commit ed28c29 into microsoft:main Sep 22, 2025
17 checks passed
@justschen
Copy link
Collaborator

git blame says tyler, but this is a good change regardless! thanks @SimonSiefke

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Nov 7, 2025
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.

5 participants