mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 310274: Need to set the fInterruptFailedJob to null in the executor to avoid multi-threaded issues
This commit is contained in:
parent
03be2f6b40
commit
a3332201e3
1 changed files with 1 additions and 1 deletions
|
@ -695,10 +695,10 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend {
|
|||
|
||||
@Override
|
||||
protected IStatus run(IProgressMonitor monitor) {
|
||||
fInterruptFailedJob = null;
|
||||
getExecutor().submit(
|
||||
new DsfRunnable() {
|
||||
public void run() {
|
||||
fInterruptFailedJob = null;
|
||||
fRequestMonitor.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, IDsfStatusConstants.REQUEST_FAILED, "Interrupt failed.", null)); //$NON-NLS-1$
|
||||
fRequestMonitor.done();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue