mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] IJPL-197192 Fix value ready status: consider ready to use only after #setContext
This fixes mark object issue. There was a race between #setAncestor, marks collection, and #setContext GitOrigin-RevId: 4d7a17b26179c6d234bcbcb107abdb4bd4585a62
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4a6c54ce7e
commit
79121039b7
@@ -297,7 +297,7 @@ public abstract class ValueDescriptorImpl extends NodeDescriptorImpl implements
|
||||
ValueDescriptorImpl other = (ValueDescriptorImpl)oldDescriptor;
|
||||
if (other.isValueReady()) {
|
||||
myValue = other.getValue();
|
||||
myInitFuture.complete(null);
|
||||
// Do not mark myInitFuture as completed until the correct value is computed in #setContext
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user