Skip to content

Commit

Permalink
Bug 569861: Do not call ungetService in getInstance of
Browse files Browse the repository at this point in the history
MarketplaceClientUiResources, because that seems to trigger deactivate
to be called before the resources were actually used
  • Loading branch information
l3-g5 committed Jan 8, 2021
1 parent daccf06 commit b2a21cd
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -208,9 +208,6 @@ public static synchronized MarketplaceClientUiResources getInstance() {
: bundleContext.getServiceReference(MarketplaceClientUiResources.class);
MarketplaceClientUiResources registered = serviceReference == null ? null
: bundleContext.getService(serviceReference);
if (registered != null) {
bundleContext.ungetService(serviceReference);//FIXME baaaad...
}
if (instance == null) {
instance = registered;
}
Expand Down

0 comments on commit b2a21cd

Please sign in to comment.