mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 13:35:22 +02:00
[246789] - Added a missing null check.
This commit is contained in:
parent
0e70351e3f
commit
4837793d14
1 changed files with 7 additions and 5 deletions
|
@ -155,11 +155,13 @@ abstract public class Sequence extends DsfRunnable implements Future<Object> {
|
||||||
fRollbackTaskName = rollbackTaskName;
|
fRollbackTaskName = rollbackTaskName;
|
||||||
fRequestMonitor = rm;
|
fRequestMonitor = rm;
|
||||||
|
|
||||||
fRequestMonitor.addCancelListener(new ICanceledListener() {
|
if (fRequestMonitor != null) {
|
||||||
public void requestCanceled(RequestMonitor rm) {
|
fRequestMonitor.addCancelListener(new ICanceledListener() {
|
||||||
fSync.doCancel();
|
public void requestCanceled(RequestMonitor rm) {
|
||||||
}
|
fSync.doCancel();
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue