mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] IJPL-197281: Expire an NBRA in PluginDescriptorDomFileSearchScopeProvider when a project is disposed
GitOrigin-RevId: e3f80d3c3e3efcf7f2d41130af9666c97e935dbc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fb0e51ef1a
commit
fc9411f1f0
+3
-1
@@ -50,7 +50,9 @@ final class PluginDescriptorDomFileSearchScopeProvider implements SearchScopePro
|
||||
if (ApplicationManager.getApplication().isReadAccessAllowed()) {
|
||||
return getDomFileCandidates(project);
|
||||
}
|
||||
return ReadAction.nonBlocking(() -> getDomFileCandidates(project)).executeSynchronously();
|
||||
return ReadAction.nonBlocking(() -> getDomFileCandidates(project))
|
||||
.expireWhen(() -> project.isDisposed())
|
||||
.executeSynchronously();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user