dispose project diagnostics subscription

This commit is contained in:
Matt Parker
2025-11-24 18:41:47 +10:00
parent e48bd78aac
commit f56db8d663
2 changed files with 4 additions and 2 deletions

View File

@@ -983,7 +983,7 @@ public class RoslynAnalysis(ILogger<RoslynAnalysis> logger, BuildService buildSe
{
return false;
}
// This may not be perfect, as None Include="" seems to be returned here as one of the globs as Include, with no distinction of Compile vs None etc
// TODO: Investigate getting the glob type (Compile, None, etc)
var matchers = projectFileInfo.FileGlobs.Select(glob =>