mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 01:55:24 +02:00
fix for Bug 142953
This commit is contained in:
parent
ae1210c41f
commit
43d4156a7d
2 changed files with 10 additions and 2 deletions
|
@ -50,10 +50,11 @@ public class DStoreShellOutputReader extends AbstractHostShellOutputReader imple
|
||||||
if (_status != null && _keepRunning)
|
if (_status != null && _keepRunning)
|
||||||
{
|
{
|
||||||
int newSize = _status.getNestedSize();
|
int newSize = _status.getNestedSize();
|
||||||
|
|
||||||
while (newSize > _statusOffset)
|
while (newSize > _statusOffset)
|
||||||
{
|
{
|
||||||
DataElement line = _status.get(_statusOffset++);
|
DataElement line = _status.get(_statusOffset++);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
String type = line.getType();
|
String type = line.getType();
|
||||||
|
|
|
@ -82,11 +82,18 @@ public class DStoreServiceCommandShell extends ServiceCommandShell
|
||||||
outputs[i] = output;
|
outputs[i] = output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_lastRefreshJob == null || _lastRefreshJob.isComplete())
|
//if (_lastRefreshJob == null || _lastRefreshJob.isComplete())
|
||||||
{
|
{
|
||||||
_lastRefreshJob = new OutputRefreshJob(this, outputs, false);
|
_lastRefreshJob = new OutputRefreshJob(this, outputs, false);
|
||||||
_lastRefreshJob.schedule();
|
_lastRefreshJob.schedule();
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_lastRefreshJob.addOutputs(outputs);
|
||||||
|
_lastRefreshJob.schedule();
|
||||||
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue