mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Bug 330608: Only discard OOB records if we are not waiting for an answer. This is to keep all output of CLI commands.
This commit is contained in:
parent
c4ca43c1ac
commit
a48572ef30
1 changed files with 3 additions and 1 deletions
|
@ -890,7 +890,9 @@ public abstract class AbstractMIControl extends AbstractDsfService
|
|||
final MIOOBRecord oob = fMiParser.parseMIOOBRecord(line);
|
||||
|
||||
fAccumulatedOOBRecords.add(oob);
|
||||
if (fAccumulatedOOBRecords.size() > 20) { // limit growth; see bug 302927
|
||||
// limit growth, but only if these are not responses to CLI commands
|
||||
// Bug 302927 & 330608
|
||||
if (fRxCommands.isEmpty() && fAccumulatedOOBRecords.size() > 20) {
|
||||
fAccumulatedOOBRecords.remove(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue