1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

Only call session terminate() on IOException.

This commit is contained in:
Alain Magloire 2002-08-21 16:02:41 +00:00
parent d6695357c3
commit e3ddcc2811

View file

@ -72,9 +72,9 @@ MIPlugin.getDefault().debugLog(line);
} }
} catch (IOException e) { } catch (IOException e) {
//e.printStackTrace(); //e.printStackTrace();
} finally {
session.getMIInferior().setTerminated(); session.getMIInferior().setTerminated();
session.terminate(); session.terminate();
} finally {
fireEvent(new MIExitEvent()); fireEvent(new MIExitEvent());
} }
} }