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

Replace Disposable[] with DisposableStore #80661

Merged
merged 1 commit into from
Sep 10, 2019
Merged

Replace Disposable[] with DisposableStore #80661

merged 1 commit into from
Sep 10, 2019

Conversation

solomatov
Copy link
Contributor

See #74250 for details.

@mjbvz mjbvz added this to the September 2019 milestone Sep 10, 2019
@mjbvz mjbvz self-assigned this Sep 10, 2019
@@ -38,7 +38,7 @@ class MessageWidget {
private readonly _relatedBlock: HTMLDivElement;
private readonly _scrollable: ScrollableElement;
private readonly _relatedDiagnostics = new WeakMap<HTMLElement, IRelatedInformation>();
private readonly _disposables: IDisposable[] = [];
private readonly _disposables: DisposableStore = new DisposableStore();
Copy link
Collaborator

Choose a reason for hiding this comment

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

[nit] Don't need to duplicate the type here

@mjbvz mjbvz merged commit db9733d into microsoft:master Sep 10, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Sep 10, 2019

Thanks!

@solomatov solomatov deleted the more-disposables branch September 12, 2019 01:30
@solomatov solomatov restored the more-disposables branch September 12, 2019 01:30
@solomatov solomatov deleted the more-disposables branch September 12, 2019 01:30
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
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.

2 participants