Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Remove unused IDisposable array #19

Merged
merged 1 commit into from
Mar 5, 2018

Conversation

rcjsuen
Copy link
Contributor

@rcjsuen rcjsuen commented Mar 3, 2018

https://github.com/Microsoft/monaco-typescript/blob/19b622bb0a8147bbe33fbaf9e3457b72f2f61e36/src/mode.ts#L56-L81

There's an IDisposable[] that gets created but is not actually used. It should just be removed instead.

Please see microsoft/monaco-editor#738.

The IDisposables created by the registration of language providers
were originally stored in an array. However, that array is not
actually used anywhere in the code so it should be removed instead.

Signed-off-by: Remy Suen <remy.suen@gmail.com>
@alexdima
Copy link
Member

alexdima commented Mar 5, 2018

Thank you for your contribution!

@rcjsuen rcjsuen deleted the remove-disposables branch March 5, 2018 13:21
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