mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Fire event only when gdb was kill.
This commit is contained in:
parent
6c5fd5a995
commit
363897361c
1 changed files with 5 additions and 3 deletions
|
@ -72,10 +72,12 @@ MIPlugin.getDefault().debugLog(line);
|
|||
}
|
||||
} catch (IOException e) {
|
||||
//e.printStackTrace();
|
||||
session.getMIInferior().setTerminated();
|
||||
session.terminate();
|
||||
if (session.getChannelInputStream() != null) {
|
||||
session.getMIInferior().setTerminated();
|
||||
session.terminate();
|
||||
}
|
||||
} finally {
|
||||
fireEvent(new MIExitEvent());
|
||||
//fireEvent(new MIExitEvent());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue