1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

[231687] - [concurrency][view model] RequestMoniotr.setStatus(CANCEL) being called even though request is not canceleld.

This commit is contained in:
Pawel Piech 2008-05-12 23:02:23 +00:00
parent 25f8027f2c
commit 9400014991

View file

@ -172,7 +172,7 @@ public class RequestMonitor {
}
}
// Call the listeners outsize of a synchronized section to reduce the
// Call the listeners outside of a synchronized section to reduce the
// risk of deadlocks.
if (listeners != null) {
for (Object listener : listeners) {
@ -188,7 +188,7 @@ public class RequestMonitor {
* of the request monitor.
*/
public synchronized boolean isCanceled() {
return fCanceled;
return fCanceled || (fParentRequestMonitor != null && fParentRequestMonitor.isCanceled());
}
/**