1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 577952: Close pathEntryStore to fix listener leak

CConfigBasedDescriptorManager.addDescriptorListener is being called
repeatedly, but the listeners are never removed due to the missing
close.

Change-Id: Ib1b92139a0090ffcdd662aa7b79d5de94a883cb1
This commit is contained in:
Jonah Graham 2022-01-10 16:06:13 -05:00
parent 96f928152f
commit 0ae896b0f1

View file

@ -118,6 +118,8 @@ public class PathEntryScannerInfoLanguageSettingsProvider extends LanguageSettin
}
} catch (CoreException e) {
CCorePlugin.log(e);
} finally {
pathEntryStore.close();
}
Set<ICLanguageSettingEntry> lsEntries = new LinkedHashSet<>();