mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[spring] IDEA-355446 Spring beans auto-injection by completion doesn't work on client
GitOrigin-RevId: c829d3a484cbc4382da9fb0c467cfdf3e65a9243
This commit is contained in:
committed by
intellij-monorepo-bot
parent
61312dc086
commit
def01d471c
@@ -79,10 +79,13 @@ public final class ParameterInfoTaskRunnerUtil {
|
||||
nonBlockingReadAction.finishOnUiThread(
|
||||
ModalityState.defaultModalityState(),
|
||||
continuation -> {
|
||||
CancellablePromise<?> promise = cancellablePromiseRef.get();
|
||||
if (promise != null && promise.isSucceeded()) {
|
||||
Component owner = getFocusOwner(project);
|
||||
if (Objects.equals(focusOwner, owner) || owner instanceof ParameterInfoController.WrapperPanel) {
|
||||
continuationConsumer.accept(continuation);
|
||||
}
|
||||
}
|
||||
})
|
||||
.expireWith(editor instanceof EditorImpl ? ((EditorImpl) editor).getDisposable() : project)
|
||||
.submit(AppExecutorUtil.getAppExecutorService())
|
||||
|
||||
Reference in New Issue
Block a user