TUSCANY-4025 - delay the removal of the contribution information until after the contribution listeners have been called.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1298469 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
slaws 2012-03-08 16:55:13 +00:00
parent 37e2c54240
commit d87ef6ea45

View file

@ -210,10 +210,10 @@ public class DomainRegistryImpl extends BaseDomainRegistry implements DomainRegi
}
public void uninstallContribution(String uri) {
contributionDescriptions.remove(uri);
for (ContributionListener listener : contributionlisteners) {
listener.contributionRemoved(uri);
}
contributionDescriptions.remove(uri);
}
public List<String> getInstalledContributionURIs() {