Closed
Description
- open
single
folder invscode
- and do
FAR
onPath
- https://github.com/microsoft/pylance-release/blob/main/testing/single/src/findallreferences.py#L6 - and click all files references are found
Expected: diagnostics are cleared as new file is opened and old files are automatically closed.
Actual: diagnostics are left in problems tab for long time (but it eventually goes away)
...
this repro with 2023.12.1
so must be existing bug.
it eventually goes away so it could be a perf issue. (such as even if a file is closed, we don't cancel pending request such as semantic token or checker requests running in BG so BG is staled or something like that)