1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

[232177] - [event] Invalid state used

This commit is contained in:
Pawel Piech 2008-05-15 02:41:54 +00:00
parent 193f47ef69
commit c4137b6be5

View file

@ -146,7 +146,7 @@ public class CLIEventProcessor
String state = rr.getResultClass();
if (fInferior != null && "error".equals(state)) { //$NON-NLS-1$
if (fInferior.getState() == MIInferiorProcess.State.RUNNING) {
fInferior.setState(MIInferiorProcess.State.RUNNING);
fInferior.setState(MIInferiorProcess.State.STOPPED);
fCommandControl.getSession().dispatchEvent(
MIErrorEvent.parse(fContainerDmc, rr.getToken(), rr.getMIResults(), null),
fCommandControl.getProperties());