ryanluker / vscode-coverage-gutters

Display test coverage generated by lcov and xml - works with many languages
https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters
MIT License
460 stars 88 forks source link

vscode 1.11.x doesnt seem to properly remove editors from active array #48

Closed ryanluker closed 7 years ago

ryanluker commented 7 years ago

reproduce:

code:

Seems to be a change in the disposal pattern for the editors in the 1.11.x release, when debugging the problem it seems as if the wrong conditional flow is happening for the editors that have been disposed. https://github.com/ryanluker/vscode-coverage-gutters/blob/master/src/gutters.ts#L61

work: