Skip to content

Commit

Permalink
Consider 3rd party extension points to be dynamic (microsoft#68603)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima authored and sandy081 committed Feb 22, 2019
1 parent 492045a commit 44402de
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,7 @@ export class ExtensionService extends Disposable implements IExtensionService {
for (let extPointName in extension.contributes) {
if (hasOwnProperty.call(extension.contributes, extPointName)) {
const extPoint = extensionPoints[extPointName];
if (extPoint) {
if (!extPoint.isDynamic) {
return false;
}
} else {
// This extension has a 3rd party (unknown) extension point
// ===> require a reload for now...
if (extPoint && !extPoint.isDynamic) {
return false;
}
}
Expand Down

0 comments on commit 44402de

Please sign in to comment.