Fixes #2153: Add a dispose() method to the code lens provider

This commit is contained in:
Alex Dima 2020-09-24 17:55:45 +02:00
parent 8b9e18c804
commit 08c64ab616
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 4 additions and 2 deletions

View file

@ -63,7 +63,8 @@ monaco.languages.registerCodeLensProvider('json', {
title: "First Line"
}
}
]
],
dispose: () => {}
};
},
resolveCodeLens: function (model, codeLens, token) {