mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26: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
|
@Override
|
||||||
protected IStatus run(IProgressMonitor monitor) {
|
protected IStatus run(IProgressMonitor monitor) {
|
||||||
fInterruptFailedJob = null;
|
|
||||||
getExecutor().submit(
|
getExecutor().submit(
|
||||||
new DsfRunnable() {
|
new DsfRunnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
fInterruptFailedJob = null;
|
||||||
fRequestMonitor.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, IDsfStatusConstants.REQUEST_FAILED, "Interrupt failed.", null)); //$NON-NLS-1$
|
fRequestMonitor.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, IDsfStatusConstants.REQUEST_FAILED, "Interrupt failed.", null)); //$NON-NLS-1$
|
||||||
fRequestMonitor.done();
|
fRequestMonitor.done();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue