mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 21:39:43 +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
|
@ -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