Skip to content

Commit

Permalink
Dispose the marker data provider on dispose
Browse files Browse the repository at this point in the history
It wasn’t being disposed, because it wasn’t part of the disposables
array.
  • Loading branch information
remcohaszing committed Jan 19, 2024
1 parent 270f49c commit a151688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export function configureMonacoYaml(monaco: MonacoEditor, options: MonacoYamlOpt
for (const disposable of disposables) {
disposable.dispose()
}
markerDataProvider.dispose()
},

update(newOptions) {
Expand Down

0 comments on commit a151688

Please sign in to comment.