mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 171644: RxThread crashes on NullPointerException if a unexpected "^running" message is received from debugger.
This commit is contained in:
parent
65af5a4620
commit
ca878d9a0b
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ public class RxThread extends Thread {
|
|||
}
|
||||
session.getMIInferior().setRunning();
|
||||
MIEvent event = new MIRunningEvent(session, id, type);
|
||||
if (cmd.isQuiet())
|
||||
if (cmd != null && cmd.isQuiet())
|
||||
event.setPropagate(false);
|
||||
list.add(event);
|
||||
} else if ("exit".equals(state)) { //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue