mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 06:35:28 +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;
|
||||
fRequestMonitor = rm;
|
||||
|
||||
fRequestMonitor.addCancelListener(new ICanceledListener() {
|
||||
public void requestCanceled(RequestMonitor rm) {
|
||||
fSync.doCancel();
|
||||
}
|
||||
});
|
||||
if (fRequestMonitor != null) {
|
||||
fRequestMonitor.addCancelListener(new ICanceledListener() {
|
||||
public void requestCanceled(RequestMonitor rm) {
|
||||
fSync.doCancel();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue