src/vs/platform/extensions/node/extensionHostStarterWorker.ts/ExtensionHostStarter/waitForAllExit
class ExtensionHostStarter:	async waitForAllExit(maxWaitTimeMs: number): Promise<void> {
		const exitPromises: Promise<void>[] = [];
		for (const [, extHost] of this._extHosts) {
			exitPromises.push(extHost.waitForExit(maxWaitTimeMs));
		}
		return Promises.settled(exitPromises).then(() => { });
	}