1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +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);
} catch (MIException e) {
}
// Close the input GDB prompt
try {
if (inChannel != null)
@ -298,6 +298,12 @@ MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
}
} catch (IOException e) {
}
// Make sure it gdb is killed.
// FIX: Spawner will do the waitFor();
if (miProcess != null) {
miProcess.destroy();
}
}
/**