mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 05:15:43 +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
|
@ -77,6 +77,10 @@ public class DsfTerminateCommand implements ITerminateHandler {
|
||||||
}
|
}
|
||||||
// Marking the request as cancelled will prevent the removal of
|
// 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.setStatus(result ? Status.OK_STATUS : Status.CANCEL_STATUS);
|
||||||
fRequest.done();
|
fRequest.done();
|
||||||
DsfSession.removeSessionEndedListener(WaitForTerminationJob.this);
|
DsfSession.removeSessionEndedListener(WaitForTerminationJob.this);
|
||||||
|
|
Loading…
Add table
Reference in a new issue