Skip to content

Commit

Permalink
Fix Issue 8463 - calling extension activate() by other extension does…
Browse files Browse the repository at this point in the history
…n't work.

Signed-off-by: Tomer Epstein <tomer.epstein@sap.com>
  • Loading branch information
tomer-epstein committed Sep 22, 2020
1 parent 4739e26 commit f6f68f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-ext/src/plugin/plugin-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,10 @@ export class PluginManagerExtImpl implements PluginManagerExt, PluginManager {

if (this.activatedPlugins.get(pluginId)) {
deferred.resolve();
return deferred.promise;
}
this.pluginActivationPromises.set(pluginId, deferred);
return deferred.promise;
return this.$activatePlugin(pluginId);
}

get onDidChange(): theia.Event<void> {
Expand Down

0 comments on commit f6f68f1

Please sign in to comment.