1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-23 08:13:50 +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) { } catch (IOException e) {
//e.printStackTrace(); //e.printStackTrace();
session.getMIInferior().setTerminated(); if (session.getChannelInputStream() != null) {
session.terminate(); session.getMIInferior().setTerminated();
session.terminate();
}
} finally { } finally {
fireEvent(new MIExitEvent()); //fireEvent(new MIExitEvent());
} }
} }