-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean caches upon deletion of a Target Definition #1246
TargetPlatformHelper and TargetPlatformService keep separate caches for target definition, resulting in a leak of TargetDefinition objects. The leak happens when TargetDefinition.resolve() caches data in TargetPlatformHelper. This also allows to skip the explicit removal of a target selected for removal from the TargetPlatformHelper's cache in TargetPlatformPreferencePage.handleRemove() because the removal will done when the change is applied and TargetPlatformService.deleteTarget() is then called. Fixes #1246
- Loading branch information
1 parent
a42910f
commit 145a426
Showing
3 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters