Allow extensions to get at the exports of other extensions during resolving (#184489)

Allow extensions to get at the exports of other extensions during resolving (fixes #184472)
This commit is contained in:
Alexandru Dima 2023-06-07 12:49:41 +02:00 committed by GitHub
parent a68b256ff0
commit bae0533322
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,7 +313,11 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
if (this._readyToRunExtensions.isOpen()) {
return this._activator.getActivatedExtension(extensionId).exports;
} else {
return null;
try {
return this._activator.getActivatedExtension(extensionId).exports;
} catch (err) {
return null;
}
}
}