1
0
Fork 0
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:
Alain Magloire 2002-08-21 16:32:24 +00:00
parent 6c5fd5a995
commit 363897361c

View file

@ -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());
}
}