mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fixed an NPE.
This commit is contained in:
parent
2724fbbe45
commit
861c9a0a29
1 changed files with 1 additions and 1 deletions
|
@ -1021,7 +1021,7 @@ public class PDOM extends PlatformObject implements IPDOM {
|
|||
long start= sDEBUG_LOCKS ? System.currentTimeMillis() : 0;
|
||||
while (lockCount > giveupReadLocks || waitingReaders > 0) {
|
||||
mutex.wait(CANCELLATION_CHECK_INTERVAL);
|
||||
if (monitor.isCanceled()) {
|
||||
if (monitor != null && monitor.isCanceled()) {
|
||||
throw new OperationCanceledException();
|
||||
}
|
||||
if (sDEBUG_LOCKS) {
|
||||
|
|
Loading…
Add table
Reference in a new issue