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

Commit a484b0f

Browse files
committed
Catching exception in _outputPane.OutputString
1 parent 392ea40 commit a484b0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CPPCheckPlugin/ICodeAnalyzer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ private void analyzerOutputHandler(object sendingProcess, DataReceivedEventArgs
244244
if (!String.IsNullOrEmpty(output))
245245
{
246246
addProblemsToToolwindow(parseOutput(output));
247-
_outputPane.OutputString(output + "\n");
247+
try { _outputPane.OutputString(output + "\n"); }
248+
catch (Exception) { }
248249
}
249250
}
250251

0 commit comments

Comments
 (0)