Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.

Commit ccda294

Browse files
committed
Failure to save changes to the current file while the check is running potentially fixed
1 parent cd44984 commit ccda294

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CPPCheckPlugin/CPPCheckPluginPackage.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@ private void runSavedFileAnalysis(SourceFile file, Configuration currentConfig,
618618
var configuredFiles = new ConfiguredFiles();
619619
configuredFiles.Files = new List<SourceFile> { file };
620620
configuredFiles.Configuration = currentConfig;
621+
622+
System.Threading.Thread.Sleep(750);
621623
runAnalysis(new List<ConfiguredFiles> { configuredFiles }, outputPane, true);
622624
}
623625

0 commit comments

Comments
 (0)