mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Use MIInferior.terminate
This commit is contained in:
parent
1c9df5cdbd
commit
8bdce2041e
1 changed files with 5 additions and 1 deletions
|
@ -594,7 +594,11 @@ public class Target implements ICDITarget {
|
|||
* @see org.eclipse.cdt.debug.core.cdi.model.ICDITarget#terminate()
|
||||
*/
|
||||
public void terminate() throws CDIException {
|
||||
session.getMISession().getMIInferior().destroy();
|
||||
try {
|
||||
session.getMISession().getMIInferior().terminate();
|
||||
} catch (MIException e) {
|
||||
throw new MI2CDIException(e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue