mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Bug 377447 - 'DsfTerminateCommand' doesn't wait for the session shutdown
to complete Added a comment.
This commit is contained in:
parent
6cf930a564
commit
ce09756dad
1 changed files with 5 additions and 1 deletions
|
@ -76,7 +76,11 @@ public class DsfTerminateCommand implements ITerminateHandler {
|
|||
}
|
||||
}
|
||||
// Marking the request as cancelled will prevent the removal of
|
||||
// the launch from the Debug view in case of "Terminate and Remove".
|
||||
// the launch from the Debug view in case of "Terminate and Remove".
|
||||
// This is important for multi-process sessions when "Terminate and Remove"
|
||||
// is applied to one of the running processes. In this case the selected
|
||||
// process will be terminated but the associated launch will not be removed
|
||||
// from the Debug view.
|
||||
fRequest.setStatus(result ? Status.OK_STATUS : Status.CANCEL_STATUS);
|
||||
fRequest.done();
|
||||
DsfSession.removeSessionEndedListener(WaitForTerminationJob.this);
|
||||
|
|
Loading…
Add table
Reference in a new issue