mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-05 14:43:36 +02:00
Added assert. Defensive programming
This commit is contained in:
parent
a31dcc6d91
commit
6a1d6ba1d5
1 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,9 @@ public class MIRunControlEventProcessor_7_0
|
||||||
} else if ("thread-exited".equals(miEvent)) { //$NON-NLS-1$
|
} else if ("thread-exited".equals(miEvent)) { //$NON-NLS-1$
|
||||||
event = new MIThreadExitEvent(processContainerDmc, exec.getToken(), threadId);
|
event = new MIThreadExitEvent(processContainerDmc, exec.getToken(), threadId);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
assert false; // earlier check should have guaranteed this isn't possible
|
||||||
|
}
|
||||||
|
|
||||||
fCommandControl.getSession().dispatchEvent(event, fCommandControl.getProperties());
|
fCommandControl.getSession().dispatchEvent(event, fCommandControl.getProperties());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue