1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +02:00

Make sure gdb is destroy();

This commit is contained in:
Alain Magloire 2002-09-04 20:15:03 +00:00
parent 46e1e64e85
commit 0e651d89c6

View file

@ -245,7 +245,7 @@ MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
postCommand(exit); postCommand(exit);
} catch (MIException e) { } catch (MIException e) {
} }
// Close the input GDB prompt // Close the input GDB prompt
try { try {
if (inChannel != null) if (inChannel != null)
@ -298,6 +298,12 @@ MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
} }
} catch (IOException e) { } catch (IOException e) {
} }
// Make sure it gdb is killed.
// FIX: Spawner will do the waitFor();
if (miProcess != null) {
miProcess.destroy();
}
} }
/** /**