mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 410489 - Too many "info shared library" commands are issued when
updating the Modules view Change-Id: Ia3e0d95042fab63af40ecea5c1ab236f26efe6e6 Reviewed-on: https://git.eclipse.org/r/13744 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
This commit is contained in:
parent
07374825fd
commit
1e499121e0
1 changed files with 4 additions and 3 deletions
|
@ -196,9 +196,10 @@ public class MIModules extends AbstractDsfService implements IModules, ICachingS
|
|||
|
||||
@Override
|
||||
public void getModuleData(final IModuleDMContext dmc, final DataRequestMonitor<IModuleDMData> rm) {
|
||||
assert dmc != null;
|
||||
if (dmc instanceof ModuleDMContext) {
|
||||
fModulesCache.execute(fCommandFactory.createCLIInfoSharedLibrary(dmc),
|
||||
assert dmc != null;
|
||||
ISymbolDMContext symDmc = DMContexts.getAncestorOfType(dmc, ISymbolDMContext.class);
|
||||
if (symDmc != null && dmc instanceof ModuleDMContext) {
|
||||
fModulesCache.execute(fCommandFactory.createCLIInfoSharedLibrary(symDmc),
|
||||
new DataRequestMonitor<CLIInfoSharedLibraryInfo>(getExecutor(), rm) {
|
||||
@Override
|
||||
protected void handleSuccess() {
|
||||
|
|
Loading…
Add table
Reference in a new issue