mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
Bug 350837: AbstractMIControl.startCommandProcessing() uses concrete GDBBackend class to create stderr thread
This commit is contained in:
parent
b9269f64eb
commit
d99a4ace65
1 changed files with 6 additions and 2 deletions
|
@ -217,11 +217,15 @@ public abstract class AbstractMIControl extends AbstractDsfService
|
||||||
fRxThread = new RxThread(inStream);
|
fRxThread = new RxThread(inStream);
|
||||||
|
|
||||||
GDBBackend backend = getServicesTracker().getService(GDBBackend.class);
|
GDBBackend backend = getServicesTracker().getService(GDBBackend.class);
|
||||||
fErrorThread = new ErrorThread(backend.getProcess().getErrorStream());
|
if (backend != null) {
|
||||||
|
fErrorThread = new ErrorThread(backend.getProcess().getErrorStream());
|
||||||
|
}
|
||||||
|
|
||||||
fTxThread.start();
|
fTxThread.start();
|
||||||
fRxThread.start();
|
fRxThread.start();
|
||||||
fErrorThread.start();
|
if (fErrorThread != null) {
|
||||||
|
fErrorThread.start();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue