mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 13:43:07 +00:00
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:
parent
a68b256ff0
commit
bae0533322
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue