Skip to content

Commit 380636e

Browse files
authored
Allow extensions to get at the exports of other extensions during resolving (microsoft#184487)
Allow extensions to get at the exports of other extensions during resolving (fixes microsoft#184472)
1 parent aee5255 commit 380636e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/vs/workbench/api/common/extHostExtensionService.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,11 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
313313
if (this._readyToRunExtensions.isOpen()) {
314314
return this._activator.getActivatedExtension(extensionId).exports;
315315
} else {
316-
return null;
316+
try {
317+
return this._activator.getActivatedExtension(extensionId).exports;
318+
} catch (err) {
319+
return null;
320+
}
317321
}
318322
}
319323

0 commit comments

Comments
 (0)